diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2016-09-08 22:11:00 +1200 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2016-09-08 22:11:08 +1200 |
commit | 8bae804332762a12e8f827dd92210f97f386b1b6 (patch) | |
tree | 895e0c7c9c18278d8589b08437e6b5602b6915d3 | |
parent | 8dcda565e78a23685042b530a8b2428ee3d2fce5 (diff) | |
download | dotfiles-8bae804332762a12e8f827dd92210f97f386b1b6.tar.xz |
umask ftw, add st smkx back
-rw-r--r-- | bashrc | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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)\) |