Fix: use -d to check is a dir
This commit is contained in:
parent
3f4e534592
commit
5324460bd4
1 changed files with 1 additions and 1 deletions
2
home.nix
2
home.nix
|
@ -164,7 +164,7 @@ in
|
|||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
|
||||
[[ ! -f ~/.scripts/github.sh ]] || source ~/.scripts/github.sh
|
||||
[[ ! -f ~/.cargo/bin ]] || export PATH=`realpath ~`/.cargo/bin:$PATH
|
||||
[[ ! -d ~/.cargo/bin ]] || export PATH=`realpath ~`/.cargo/bin:$PATH
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue