#better commands alias ls="ls -hN --color=auto --group-directories-first" alias wget='wget --hsts-file ~/.config/wget/wget-hsts' #command fixes alias ssh="TERM=xterm-256color ssh" #fix issues with TERM=foot not being defined by terminfo alias distrobox='TERM=xterm-256color distrobox' alias toolbox='TERM=xterm-256color toolbox' alias vim='nvim' alias mbsync="mbsync -c $HOME/.config/mbsync/config" #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/' #programs alias trc="tremc -c @$TRNS_IP:9091" alias pm='pulsemixer' alias vimw='nvim -c VimwikiIndex' alias dmenu='rofi -dmenu' #Youtube alias yv='pipe-viewer --resolution=480p' alias yd='yt-dlp' #dotfiles configuration alias alias config='git --git-dir=$HOME/.cfg/ --work-tree=$HOME' #containers alias gaming='distrobox enter gaming' note() { NOTEFILE="$HOME/.cache/notes" if [ "$1" = "-l" ]; then cat "$NOTEFILE" elif [ "$1" = "-e" ]; then $EDITOR "$NOTEFILE" elif [ $# -lt 1 ]; then echo " usage: note this is a note" echo " the line: \"this is a note\" is stored as a line in the file $NOTEFILE" echo "" echo " -l -> to view the contents of $NOTEFILE" echo " -e -> edit note file with \$EDITOR" echo " -h -> print this help menu" else echo "$@" >> "$NOTEFILE" fi }