Compare commits
4 Commits
802dbb7c08
...
2a2b2e1373
Author | SHA1 | Date |
---|---|---|
Zynh Ludwig | 2a2b2e1373 | |
Zynh Ludwig | e103b92a8b | |
Zynh Ludwig | 60ba9d19d4 | |
Zynh Ludwig | f77616504a |
|
@ -27,6 +27,7 @@ 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";
|
||||
|
@ -35,7 +36,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} "$(${readlink} -f ~/projects)" ~/ ~/.config ~/.suckless/ -mindepth 1 -maxdepth 1 -type d | ${fzf})
|
||||
fi
|
||||
|
||||
if [[ -z $selected ]]; then
|
||||
|
|
Loading…
Reference in New Issue