dotfiles-old/.config/aliasrc

58 lines
1.3 KiB
Plaintext
Raw Normal View History

2022-03-10 03:42:22 +00:00
#better commands
alias ls="ls -hN --color=auto --group-directories-first"
alias wget='wget --hsts-file ~/.config/wget/wget-hsts'
#git
alias gs='git status | less'
#xbps
2022-03-24 05:05:35 +00:00
#alias xi='sudo xbps-install'
#alias xq='xbps-query'
#alias xr='sudo xbps-remove'
2022-03-10 03:42:22 +00:00
alias vim='nvim'
2022-03-24 05:05:35 +00:00
alias mbsync="mbsync -c $HOME/.config/mbsync/config"
2022-03-10 03:42:22 +00:00
#alias setwp='wal -s -t -e -i '
#shortend commands
alias btc='bluetoothctl'
#sfeed
alias sf='sfeed_curses ~/.local/share/sfeed/feeds/*'
alias sfu='sfeed_update ~/.config/sfeed/sfeedrc'
alias sfc='rm -r ~/.local/share/sfeed/feeds/*'
alias sfe='$EDITOR ~/.config/sfeed/sfeedrc'
#alias mocp='mocp -M ~/.config/moc/' #-T transparent-background'
#alias glrun='proot -r ~/.local/share/void-glibc -b /home/'
alias mpvyl='mpv --ytdl-format=18 '
#system power
alias poweroff='sudo poweroff'
alias reboot='sudo reboot'
alias shutdown='sudo shutdown'
#programs
alias trc='tremc -c @nagato:9091'
alias pm='pulsemixer'
#Youtube
alias yv='pipe-viewer --resolution=480p'
alias yd='youtube-dl'
#dotfiles configuration alias
2022-06-10 02:06:39 +00:00
alias config='git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
2022-03-10 03:42:22 +00:00
note() {
NOTEFILE="$HOME/docs/notes"
if [ "$#" -lt 1 ]; then
cat "$NOTEFILE"
elif [ "$1" = "-e" ]; then
$EDITOR "$NOTEFILE"
else
echo "$@" >> "$NOTEFILE"
fi
}