fix: remplacement fasd (EOL) par zoxide
This commit is contained in:
@@ -63,7 +63,7 @@ in
|
||||
|
||||
sakura
|
||||
tmux
|
||||
fasd
|
||||
zoxide
|
||||
ripgrep
|
||||
tree
|
||||
ncdu
|
||||
|
||||
@@ -7,6 +7,12 @@
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
|
||||
# Remplace fasd (retiré de nixpkgs, archivé upstream)
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
autosuggestion = {
|
||||
@@ -24,7 +30,6 @@
|
||||
theme = "robbyrussell";
|
||||
plugins = [
|
||||
"docker"
|
||||
"fasd"
|
||||
"git"
|
||||
"httpie"
|
||||
"pass"
|
||||
@@ -60,8 +65,6 @@
|
||||
CHROME_PATH=$(which google-chrome) pnpm dlx lighthouse $1 --view
|
||||
}
|
||||
|
||||
unalias v
|
||||
|
||||
# see https://github.com/cantino/mcfly
|
||||
export MCFLY_FUZZY=true
|
||||
eval "$(mcfly init zsh)"
|
||||
@@ -114,14 +117,15 @@
|
||||
};
|
||||
|
||||
shellAliases = {
|
||||
s = "fasd -si"; # show / search / select
|
||||
d = "fasd -d"; # directory
|
||||
f = "fasd -f"; # file
|
||||
sd = "fasd -sid"; # interactive directory selection
|
||||
sf = "fasd -sif"; # interactive file selection
|
||||
z = "fasd_cd -d"; # cd, same functionality as j in autojump
|
||||
j = "fasd_cd -d"; # cd, same functionality as j in autojump
|
||||
zz = "fasd_cd -d -i"; # cd with interactive selection
|
||||
# `z` et `zi` viennent de zoxide, les alias ci-dessous gardent les
|
||||
# raccourcis hérités de fasd (retiré de nixpkgs, archivé upstream)
|
||||
d = "zoxide query --list"; # directory
|
||||
j = "z"; # cd, same functionality as j in autojump
|
||||
sd = "zi"; # interactive directory selection
|
||||
zz = "zi"; # cd with interactive selection
|
||||
s = "fzf"; # show / search / select
|
||||
f = "fzf"; # file
|
||||
sf = "fzf"; # interactive file selection
|
||||
|
||||
dc = "docker compose";
|
||||
dcr = "docker compose run --rm";
|
||||
|
||||
Reference in New Issue
Block a user