dotfiles/_src.posix/private_dot_config/sz.env/aliases.env

18 lines
457 B
Bash
Raw Normal View History

2024-09-19 04:31:48 +00:00
#!/usr/bin/env -S bash -c 'echo "Not a user script. source(aka .) only"'
2024-11-25 02:53:34 +00:00
alias l='ls -lahF --color=auto --group-directories-first '
2024-09-19 04:31:48 +00:00
alias lu='l -U '
alias lold='l --sort=time '
alias lnew='l --sort=time --reverse '
2024-11-25 02:53:34 +00:00
alias ll='l -A'
2024-09-19 04:31:48 +00:00
alias sudo='sudo '
2025-03-12 14:27:27 +00:00
is_cmd nvim \
&& alias nvim='POSTFIX_BUITINS=1 command nvim -p ' \
|| alias nvim='POSTFIX_BUITINS=1 command vim -p '
alias vi='nvim '
alias vim='nvim '
alias nvimdiff='nvim -d '
alias vimdiff='nvimdiff '