On some systems `rm` is an interactive alias that runs `rm -i`.
vim() {
command vim "$@"
rc=$?
- cd "`cat \"$HOME/tmp/vim/cwd\"`" && rm "$HOME/tmp/vim/cwd" &&
+ cd "`cat \"$HOME/tmp/vim/cwd\"`" && /bin/rm "$HOME/tmp/vim/cwd" &&
return $rc
}
if [ "$SHLVL" -eq 1 ] && which startx >/dev/null 2>&1; then
- X() { startx >> .Xserver.log 2>&1; cyr; rm -f .Xauthority; }
+ X() { startx >> .Xserver.log 2>&1; cyr; /bin/rm -f .Xauthority; }
fi
x() { exit; }