mirror of
https://github.com/davegallant/nix-config
synced 2026-03-03 12:46:34 +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";
|
l = "eza -la --git --group-directories-first";
|
||||||
m = "make";
|
m = "make";
|
||||||
nix-install = "nix-env -iA";
|
nix-install = "nix-env -iA";
|
||||||
t = "cd-fzf";
|
t = "cd $(cd-fzf)";
|
||||||
tf = "terraform";
|
tf = "terraform";
|
||||||
tree = "eza --tree";
|
tree = "eza --tree";
|
||||||
v = "nvim";
|
v = "nvim";
|
||||||
|
|||||||
@@ -13,5 +13,4 @@ if [[ -z $selected ]]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd "$selected"
|
echo "$selected"
|
||||||
$SHELL
|
|
||||||
|
|||||||
Reference in New Issue
Block a user