Empty godir, use fasd if available.
This commit is contained in:
parent
2767c495b1
commit
4acd4e2a0a
2 changed files with 5 additions and 8 deletions
5
files/bashrc.d/70-util-fasd.sh
Normal file
5
files/bashrc.d/70-util-fasd.sh
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
|
||||||
|
if hash fasd >/dev/null 2>&1 ; then
|
||||||
|
eval "$(fasd --init auto)"
|
||||||
|
fi
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
|
|
||||||
if hash gx-search-baloo >/dev/null 2>&1 ; then
|
|
||||||
function godir() {
|
|
||||||
dir=$(gx-search-baloo "$@")
|
|
||||||
cd "$dir"
|
|
||||||
}
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Reference in a new issue