summaryrefslogtreecommitdiff
path: root/.config/aliases
diff options
context:
space:
mode:
Diffstat (limited to '.config/aliases')
-rw-r--r--.config/aliases10
1 files changed, 7 insertions, 3 deletions
diff --git a/.config/aliases b/.config/aliases
index 7d5ca20..4b2ef10 100644
--- a/.config/aliases
+++ b/.config/aliases
@@ -7,11 +7,13 @@ alias sudo='doas'
alias sudoedit='doasedit'
alias e="$EDITOR"
+alias ne="nvim"
alias t='todo.sh'
alias q='exit'
alias rr="source $HOME/.bash_profile"
alias pw='acpi'
alias nw='newsboat -q'
+alias mail='aerc'
alias mx="pulsemixer"
alias up='uptime -p'
alias wl="wc -l"
@@ -25,7 +27,7 @@ alias vpn="doas wg-quick up adast"
alias novpn="doas wg-quick down adast"
alias hide="swayhide"
-alias ls='exa -stype'
+alias ls='eza -stype'
alias lh="ls -1dI '.|..' .*"
alias lt='ls -T'
alias l='ls -la'
@@ -35,6 +37,7 @@ alias gs='git status'
alias ga='git add'
alias gu='git add -u'
alias df='git diff'
+alias gr='git restore'
alias gl='git log --oneline --decorate --all --graph'
alias c="git --git-dir=$HOME/.config/dots --work-tree=$HOME"
@@ -43,6 +46,7 @@ alias ca='c add'
alias cu='c add -u'
alias cdf='c diff'
alias cl='c log --oneline --decorate --all --graph'
+alias cr='c restore'
function fzf () {
command fzf --color=$(<$XDG_CONFIG_HOME/scheme/fzf-color) "$@";
@@ -50,14 +54,14 @@ function fzf () {
export -f fzf
_completion_loader git
-_completion_loader exa
+_completion_loader eza
_completion_loader todo.sh
_completion_loader sudo
_completion_loader nmcli
complete -o bashdefault -o default -o nospace -F __git_wrap__git_main g c
complete -o bashdefault -o default -F _fzf_path_completion e
-complete -o bashdefault -o filenames -F _exa ls
+complete -o bashdefault -o filenames -F _eza ls
complete -F _todo t
complete -F _nmcli net
complete -F _sudo doas