Improved viminit

dev
totem4 3 years ago
parent 0ce4168dab
commit f49a271122

@ -9,8 +9,8 @@ alias ll='ls -alF'
alias la='ls -A' alias la='ls -A'
alias l='ls -CF' alias l='ls -CF'
alias sl='ls' alias sl='ls'
[ -r /tmp/conf.d/vimrc ] && alias vim='vim -Nu /tmp/conf.d/vimrc'
[ -r /tmp/conf.d/screenrc ] && alias screen='screen -c /tmp/conf.d/screenrc' [ -r /tmp/conf.d/screenrc ] && alias screen='screen -c /tmp/conf.d/screenrc'
[ -r /tmp/conf.d/vimrc ] && export VIMINIT="let \$MYVIMRC='/tmp/conf.d/vimrc' | source \$MYVIMRC"
PROMPT_COMMAND=__prompt_command PROMPT_COMMAND=__prompt_command
__prompt_command() { __prompt_command() {
local curr_exit="$?" local curr_exit="$?"

Loading…
Cancel
Save