add global shell aliases
This commit is contained in:
parent
892b368c3a
commit
93c243b0d3
2 changed files with 11 additions and 10 deletions
|
|
@ -13,6 +13,17 @@
|
|||
EDITOR = lib.mkDefault "nvim";
|
||||
};
|
||||
|
||||
home.shellAliases = {
|
||||
c = "code .";
|
||||
l = "eza --all --long --git --icons --group --sort size --header --group-directories-first";
|
||||
ll = "eza --all --long --git --icons --group --sort name --header --group-directories-first";
|
||||
free = "free -h";
|
||||
df = "df -h";
|
||||
du = "du -h";
|
||||
lg = "lazygit";
|
||||
onefetch = "onefetch -T prose -T programming -T data";
|
||||
};
|
||||
|
||||
# Don't set stateVersion here - let it be set by the system configuration
|
||||
# home.stateVersion should be set in the system's home-manager configuration
|
||||
|
||||
|
|
|
|||
|
|
@ -4,16 +4,6 @@
|
|||
interactiveShellInit = ''
|
||||
set -g fish_greeting
|
||||
'';
|
||||
shellAliases = {
|
||||
c = "code .";
|
||||
l = "eza --all --long --git --icons --group --sort size --header --group-directories-first";
|
||||
ll = "eza --all --long --git --icons --group --sort name --header --group-directories-first";
|
||||
free = "free -h";
|
||||
df = "df -h";
|
||||
du = "du -h";
|
||||
lg = "lazygit";
|
||||
onefetch = "onefetch -T prose -T programming -T data";
|
||||
};
|
||||
functions = {
|
||||
gitu = ''
|
||||
git add --all
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue