summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bashrc11
1 files changed, 8 insertions, 3 deletions
diff --git a/bashrc b/bashrc
index 1447527..f788ec7 100644
--- a/bashrc
+++ b/bashrc
@@ -9,9 +9,10 @@ source /usr/share/git/completion/git-prompt.sh
# Force false terminal to get colour with (eg) ls within dvtm
if [ "$TERM" == "dvtm-256color" ]; then
TERM=rxvt-256color
- # Quick fix for readline Del key in st
- # disabled 2016-01-21
- #echo $(tput smkx) > /dev/tty
+fi
+if [ "$TERM" == "st-256color" ]; then
+ # Quick fix for Del key in st
+ echo $(tput smkx) > /dev/tty
fi
man() {
@@ -52,6 +53,10 @@ alias xpdf="xpdf -cont"
alias feh="feh --magick-timeout=0"
alias xclip="xclip -selection c"
+
+# u=rwx,g=,o=
+umask 077
+
echo Running $(uname) $(uname -r) on $(uname -n) \($(uname -m)\)