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