From 8bae804332762a12e8f827dd92210f97f386b1b6 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Thu, 8 Sep 2016 22:11:00 +1200 Subject: umask ftw, add st smkx back --- bashrc | 11 ++++++++--- 1 file 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)\) -- cgit v1.1