fzf-tab completion

shell aliases
This commit is contained in:
Sangmin Kim 2025-04-04 07:36:28 +09:00
parent 1304d72517
commit f91c4ff01e
3 changed files with 14 additions and 2 deletions

View file

@ -36,6 +36,8 @@
tree
zoxide
zsh-powerlevel10k
zsh-fzf-tab
commitizen
# GUI
alt-tab-macos

View file

@ -210,6 +210,7 @@
enableFzfHistory = true;
promptInit = ''
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
'';
};
@ -218,7 +219,17 @@
pkgs.zsh
];
shellAliases = {
rebuild = "darwin-rebuild switch --flake ~/.config/nix-darwin";
ls = "lsd --color=auto";
l = "lsd -lhG";
ll = "lsd -alhG";
lh = "lsd -dl .*";
lsd = "lsd --group-directories-first";
filecount="find . -type f | wc -l";
cat = "bat --color=always";
man = "tldr";
nixrebuild = "darwin-rebuild switch --flake ~/.config/nix-darwin";
nixconfig = "code ~/.config/nix-darwin";
sshconfig = "code ~/.ssh/config";
};
};