mirror of
https://github.com/nikdoof/dotfiles.git
synced 2025-12-13 09:42:27 +00:00
Add NixOS aliases
This commit is contained in:
@@ -7,6 +7,11 @@ else
|
|||||||
alias ls="ls -F --color=auto"
|
alias ls="ls -F --color=auto"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# NixOS aliases
|
||||||
|
if [ -f "/etc/NIXOS" ]; then
|
||||||
|
alias nixos-rebuild="cd ~/nixos-config && make rebuild"
|
||||||
|
fi
|
||||||
|
|
||||||
alias t='(tmux has-session 2>/dev/null && tmux attach) || (tmux new-session)'
|
alias t='(tmux has-session 2>/dev/null && tmux attach) || (tmux new-session)'
|
||||||
alias tma="tmux attach"
|
alias tma="tmux attach"
|
||||||
alias last="last | head"
|
alias last="last | head"
|
||||||
|
|||||||
Reference in New Issue
Block a user