diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-04-01 08:50:57 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-04-01 08:50:57 +0530 |
| commit | 6f836a75007c7d41fa549de78769845d7c9c2a7f (patch) | |
| tree | b859cbdd699bc12baecb5626bc47f458df709267 /nixos | |
| parent | 4cc5d96857c4fec772acee99e7e124058690a365 (diff) | |
proper aliases
Diffstat (limited to 'nixos')
| -rw-r--r-- | nixos/home.nix | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/nixos/home.nix b/nixos/home.nix index 19d8e1b..c148e6d 100644 --- a/nixos/home.nix +++ b/nixos/home.nix @@ -46,36 +46,29 @@ if status is-interactive end end '' else '''') + '' -function tsnode - set filename (basename $argv[1] .ts) - tsc $filename.ts - node $filename.js - rm $filename.js -end - zoxide init --cmd cd fish | source starship init fish | source if test -f ~/.cache/ags/user/generated/terminal/sequences.txt cat ~/.cache/ags/user/generated/terminal/sequences.txt end -alias py=python -alias tmux="tmux -u" -alias snvim="sudo -E -s nvim" -alias ls="eza" -alias l="eza -bghHliS" -alias tree="eza -TL 2" -alias cat="bat" -alias find="fd" -alias cloc="tokei" -alias scrcpy="scrcpy --render-driver=opengl" -alias wisdom="fortune ~/.config/fortune/showerthoughts | cowsay | lolcat" -alias search="rg --color=always --line-number --no-heading \"\" | fzf --ansi --phony --query \"\" --bind \"change:reload(rg --color=always --line-number --no-heading {q} || true)\"" function mkcd mkdir -p $argv[1] cd $argv[1] end ''; + shellAliases = { + py="python"; + tmux="tmux -u"; + snvim="sudo -E -s nvim"; + ls="eza -hli"; + cat="bat"; + find="fd"; + cloc="tokei"; + scrcpy="scrcpy --render-driver=opengl"; + wisdom="fortune ~/.config/fortune/showerthoughts | cowsay | lolcat"; + search="rg --color=always --line-number --no-heading \"\" | fzf --ansi --phony --query \"\" --bind \"change:reload(rg --color=always --line-number --no-heading {q} || true)\""; + }; }; environment.systemPackages = with pkgs; [ nushell |
