We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d57693c commit b7e1aedCopy full SHA for b7e1aed
cdhist
@@ -40,7 +40,7 @@ function cdpush {
40
\cd "$@" || return $?
41
echo "$PWD" >"$cdhf.tmp"
42
grep -v "^$PWD$" "$cdhf" >>"$cdhf.tmp"
43
- [ -s "$cdhf.tmp" ] && mv "$cdhf.tmp" "$cdhf"
+ [ -s "$cdhf.tmp" ] && \mv "$cdhf.tmp" "$cdhf"
44
return 0
45
}
46
@@ -107,4 +107,4 @@ alias cd-='cd -'
107
alias cd--=cdhist
108
alias cd+='cdsub 1'
109
alias cd++='cdsub 4'
110
-alias cdl=cdlocate
+alias cdl=cdlocate
0 commit comments