Browse Source

use vim as editor if available, change to cat /etc/issue.net

pull/1/head
10sr 13 years ago
parent
commit
7417134d2e
1 changed files with 8 additions and 2 deletions
  1. +8
    -2
      .bashrc

+ 8
- 2
.bashrc View File

@@ -48,7 +48,13 @@ then
else
export PAGER="less"
fi
export EDITOR="vi"

if type vim >/dev/null 2>&1
then
export EDITOR=vim
else
export EDITOR=vi
fi
export VISUAL="$EDITOR"
export LESS="-iRMX"
# export LC_MESSAGES="C"
@@ -408,7 +414,7 @@ _testjp(){
}
_testjp

test -f /etc/debian_version && echo Debian `cat /etc/debian_version`
test -f /etc/issue.net && cat /etc/issue.net

safe-cmd diskinfo



Loading…
Cancel
Save