mirror of
https://github.com/davegallant/nix-config
synced 2026-03-03 04:26:36 +00:00
Do not spawn subshell when using cd-fzf
This commit is contained in:
2
home.nix
2
home.nix
@@ -166,7 +166,7 @@ in
|
||||
l = "eza -la --git --group-directories-first";
|
||||
m = "make";
|
||||
nix-install = "nix-env -iA";
|
||||
t = "cd-fzf";
|
||||
t = "cd $(cd-fzf)";
|
||||
tf = "terraform";
|
||||
tree = "eza --tree";
|
||||
v = "nvim";
|
||||
|
||||
@@ -13,5 +13,4 @@ if [[ -z $selected ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
cd "$selected"
|
||||
$SHELL
|
||||
echo "$selected"
|
||||
|
||||
Reference in New Issue
Block a user