Add more aliases.

This commit is contained in:
CronyAkatsuki 2024-03-25 19:27:47 +01:00
parent 82ca9fa328
commit cf9d94351f

View File

@ -6,7 +6,13 @@
enableCompletion = true; enableCompletion = true;
history.path = "${config.xdg.dataHome}/zsh/history"; history.path = "${config.xdg.dataHome}/zsh/history";
dotDir = ".config/zsh"; dotDir = ".config/zsh";
shellAliases = { lg = "lazygit"; }; shellAliases = {
lg = "lazygit";
j =
"cd $(zoxide query --list | fzf --prompt 'Directory: ' -i --reverse --layout=reverse --border=rounded --info=inline --preview 'eza -A --tree -L 1 {}')";
gj = ''
cd $(find ${config.home.homeDirectory} -name .git -type d -exec dirname {} \; -prune | fzf --prompt "Directory: " -i --reverse --layout=reverse --border=rounded --info=inline --preview "eza -A --tree -L 1 {}")'';
};
envExtra = '' envExtra = ''
# NNN settings # NNN settings
export NNN_FIFO="/tmp/nnn.fifo" export NNN_FIFO="/tmp/nnn.fifo"