projects
/
selector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c839255
)
Fixed an infinite recursion that never happened before (?!)
master
author
François Fleuret
<francois@fleuret.org>
Sun, 17 Nov 2024 09:17:04 +0000
(10:17 +0100)
committer
François Fleuret
<francois@fleuret.org>
Sun, 17 Nov 2024 09:17:04 +0000
(10:17 +0100)
bash-selector.sh
patch
|
blob
|
history
diff --git
a/bash-selector.sh
b/bash-selector.sh
index
d338487
..
63d3081
100755
(executable)
--- a/
bash-selector.sh
+++ b/
bash-selector.sh
@@
-65,9
+65,9
@@
function selector-cd () {
umask 077
if [[ -z "$1" ]]; then
umask 077
if [[ -z "$1" ]]; then
- cd
+
\
cd
else
else
- cd "$@"
+
\
cd "$@"
fi
if [[ -f "${SELECTOR_CD_HISTORY}" ]]; then
fi
if [[ -f "${SELECTOR_CD_HISTORY}" ]]; then