XDG complian ncmpcpp

This commit is contained in:
Dominic Adamson 2021-03-20 08:15:41 -06:00
parent 130943948b
commit a9a1da0f0c
4 changed files with 17 additions and 15 deletions

View File

@ -1,7 +1,7 @@
# ____ _____
# ____ _____
# | _ \_ _| Derek Taylor (DistroTube)
# | | | || | http://www.youtube.com/c/DistroTube
# | |_| || | http://www.gitlab.com/dwt1/
# | |_| || | http://www.gitlab.com/dwt1/
# |____/ |_|
#
# My bash config. Not much to see here; just some pretty standard stuff.
@ -92,7 +92,7 @@ ex ()
*.7z) 7z x $1 ;;
*.deb) ar x $1 ;;
*.tar.xz) tar xf $1 ;;
*.tar.zst) unzstd $1 ;;
*.tar.zst) unzstd $1 ;;
*) echo "'$1' cannot be extracted via ex()" ;;
esac
else
@ -178,6 +178,7 @@ alias df='df -h' # human-readable sizes
alias free='free -m' # show sizes in MB
alias lynx='lynx -cfg=~/.lynx/lynx.cfg -lss=~/.lynx/lynx.lss -vikeys'
alias vifm='./.config/vifm/scripts/vifmrun'
alias ncmpcpp='ncmpcpp ncmpcpp_directory=$HOME/.config/ncmpcpp/'
## get top process eating memory
alias psmem='ps auxf | sort -nr -k 4'
@ -243,7 +244,7 @@ alias rr='curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/mas
alias tips='lbrynet txo spend --type=support --is_not_my_input --blocking'
# Thinkorswim
alias tos="/home/dt/thinkorswim/thinkorswim"
alias tos="/home/dt/thinkorswim/thinkorswim"
# force all kakoune windows into one session
alias kak="/usr/bin/kak -c mysession"

View File

@ -1,7 +1,7 @@
# ____ _____
# ____ _____
# | _ \_ _| Derek Taylor (DistroTube)
# | | | || | http://www.youtube.com/c/DistroTube
# | |_| || | http://www.gitlab.com/dwt1/
# | |_| || | http://www.gitlab.com/dwt1/
# |____/ |_|
#
# My fish config. Not much to see here; just some pretty standard stuff.
@ -17,7 +17,7 @@ set VISUAL "emacsclient -c -a emacs" # $VISUAL use Emacs in GUI mod
### Uncomment only one of these!
### "bat" as manpager
set -x MANPAGER "sh -c 'col -bx | bat -l man -p'"
set -x MANPAGER "sh -c 'col -bx | bat -l man -p'"
### "vim" as manpager
# set -x MANPAGER '/bin/bash -c "vim -MRn -c \"set buftype=nofile showtabline=0 ft=man ts=8 nomod nolist norelativenumber nonu noma\" -c \"normal L\" -c \"nmap q :qa<CR>\"</dev/tty <(col -b)"'
@ -208,7 +208,7 @@ alias clear='clear; echo; echo; seq 1 (tput cols) | sort -R | spark | lolcat; ec
alias doas="doas --"
# navigation
alias ..='cd ..'
alias ..='cd ..'
alias ...='cd ../..'
alias .3='cd ../../..'
alias .4='cd ../../../..'
@ -267,6 +267,7 @@ alias df='df -h' # human-readable sizes
alias free='free -m' # show sizes in MB
alias lynx='lynx -cfg=~/.lynx/lynx.cfg -lss=~/.lynx/lynx.lss -vikeys'
alias vifm='./.config/vifm/scripts/vifmrun'
alias ncmpcpp='ncmpcpp ncmpcpp_directory=/Users/alichtman/.config/ncmpcpp/'
## get top process eating memory
alias psmem='ps auxf | sort -nr -k 4'

14
.zshrc
View File

@ -1,8 +1,8 @@
# ____ _____
# ____ _____
# | _ \_ _| Derek Taylor (DistroTube)
# | | | || | http://www.youtube.com/c/DistroTube
# | |_| || | http://www.gitlab.com/dwt1/
# |____/ |_|
# | |_| || | http://www.gitlab.com/dwt1/
# |____/ |_|
# My zsh config. Not much to see here; just some pretty standard stuff.
### EXPORT
@ -109,7 +109,7 @@ ZSH=$HOME/.oh-my-zsh
# Defning the plugins needs to happen before sourcing oh-my-zsh.
plugins=(command-not-found
emacs
git
git
history
zsh-interactive-cd)
@ -117,7 +117,7 @@ plugins=(command-not-found
# Your plugins will not work without this source.
source $ZSH/oh-my-zsh.sh
### ALIASES ###
### ALIASES ###
# root privileges
alias doas="doas --"
@ -150,7 +150,6 @@ alias doomsync="~/.emacs.d/bin/doom sync"
alias doomdoctor="~/.emacs.d/bin/doom doctor"
alias doomupgrade="~/.emacs.d/bin/doom upgrade"
alias doompurge="~/.emacs.d/bin/doom purge"
# bat
# alias cat='bat'
@ -195,6 +194,7 @@ alias df='df -h' # human-readable sizes
alias free='free -m' # show sizes in MB
alias lynx='lynx -cfg=~/.lynx/lynx.cfg -lss=~/.lynx/lynx.lss -vikeys'
alias vifm='./.config/vifm/scripts/vifmrun'
alias ncmpcpp='ncmpcpp ncmpcpp_directory=$HOME/.config/ncmpcpp/'
## get top process eating memory
alias psmem='ps auxf | sort -nr -k 4'
@ -260,7 +260,7 @@ alias rr='curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/mas
alias tips='lbrynet txo spend --type=support --is_not_my_input --blocking'
# Thinkorswim
alias tos="/home/dt/thinkorswim/thinkorswim"
alias tos="/home/dt/thinkorswim/thinkorswim"
# force all kakoune windows into one session
alias kak="/usr/bin/kak -c mysession"