tmux-sessionizer: fix paths
This commit is contained in:
parent
2a2b2e1373
commit
44eb2bd078
1 changed files with 1 additions and 2 deletions
|
@ -27,7 +27,6 @@ in
|
|||
tmux = "${pkgs.tmux}/bin/tmux";
|
||||
pgrep = "${pkgs.procps}/bin/pgrep";
|
||||
basename = "${pkgs.coreutils}/bin/basename";
|
||||
readlink = "${pkgs.coreutils}/bin/readlink";
|
||||
tr = "${pkgs.coreutils}/bin/tr";
|
||||
fzf = "${pkgs.fzf}/bin/fzf";
|
||||
find = "${pkgs.findutils}/bin/find";
|
||||
|
@ -36,7 +35,7 @@ in
|
|||
if [[ $# -eq 1 ]]; then
|
||||
selected=$1
|
||||
else
|
||||
selected=$(${find} "$(${readlink} -f ~/projects)" ~/ ~/.config ~/.suckless/ -mindepth 1 -maxdepth 1 -type d | ${fzf})
|
||||
selected=$(${find} ~/projects ~/ ~/.config ~/src -mindepth 1 -maxdepth 1 -type d | ${fzf})
|
||||
fi
|
||||
|
||||
if [[ -z $selected ]]; then
|
||||
|
|
Loading…
Reference in a new issue