Skip to content

Commit

Permalink
Replace .. alias from cd to z
Browse files Browse the repository at this point in the history
  • Loading branch information
francishamel committed Dec 8, 2024
1 parent ef2ea70 commit 31f63ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 7 additions & 3 deletions home-manager/modules/zoxide.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{ ... }:

{
programs.zoxide = {
enable = true;
enableZshIntegration = true;
programs = {
zoxide = {
enable = true;
enableZshIntegration = true;
};

zsh.shellAliases.".." = "z ..";
};
}
1 change: 0 additions & 1 deletion home-manager/modules/zsh/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
dotDir = ".config/zsh";
enable = true;
historySubstringSearch.enable = true;
shellAliases.".." = "cd ..";
initExtra = ''
bindkey '^U' backward-kill-line
'';
Expand Down

0 comments on commit 31f63ae

Please sign in to comment.