summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorMike Crute <crutem@amazon.com>2018-12-17 10:23:38 -0800
committerMike Crute <crutem@amazon.com>2018-12-17 10:23:38 -0800
commit631bea37b3ec6595765c31eabd7e0b325cf52d76 (patch)
tree5faa23448a47852e57176df8372a09d3a4745304 /.bashrc
parent2263dc83ab56672243b808db1401b731878b212d (diff)
downloaddotfiles-631bea37b3ec6595765c31eabd7e0b325cf52d76.tar.bz2
dotfiles-631bea37b3ec6595765c31eabd7e0b325cf52d76.tar.xz
dotfiles-631bea37b3ec6595765c31eabd7e0b325cf52d76.zip
Migrate commands from local bashrc
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 88316ca..723c2b4 100644
--- a/.bashrc
+++ b/.bashrc
@@ -277,6 +277,7 @@ have_command tidy && alias tidy_xml='tidy -xml -indent -wrap 0 2>/dev/null'
277have_command gitx && alias gitx="gitx --all" 277have_command gitx && alias gitx="gitx --all"
278have_command play && alias noise='play -n synth brownnoise synth pinknoise mix vol 0.5' 278have_command play && alias noise='play -n synth brownnoise synth pinknoise mix vol 0.5'
279have_command socat && alias hproxy="socat TCP4-LISTEN:6600,fork SOCKS4:127.0.0.1:172.16.0.166:6600,socksport=9999" 279have_command socat && alias hproxy="socat TCP4-LISTEN:6600,fork SOCKS4:127.0.0.1:172.16.0.166:6600,socksport=9999"
280have_command neomutt && alias mutt=neomutt
280 281
281have_command docker && alias docker-interactive="docker run -ti --rm --detach-keys=ctrl-@ -v $HOME:$HOME " 282have_command docker && alias docker-interactive="docker run -ti --rm --detach-keys=ctrl-@ -v $HOME:$HOME "
282 283
@@ -307,6 +308,11 @@ if have_command systemctl; then
307 alias systemctl-failed-user-units="systemctl --user list-units --state=failed" 308 alias systemctl-failed-user-units="systemctl --user list-units --state=failed"
308fi 309fi
309 310
311# Spotify on high-resolution screens without Gnome
312if [[ -x "/snap/bin/spotify" ]]; then
313 alias spotify4k="( /snap/bin/spotify --force-device-scale-factor=2 & )&"
314fi
315
310# Other Useful Aliases 316# Other Useful Aliases
311alias vihosts="sudo vim /etc/hosts" 317alias vihosts="sudo vim /etc/hosts"
312alias pyclean='find . \( -name __pycache__ -o -name \*.pyc \) -delete' 318alias pyclean='find . \( -name __pycache__ -o -name \*.pyc \) -delete'
@@ -316,6 +322,8 @@ alias killfox="pkill -9 firefox"
316alias grep="grep --color=auto" 322alias grep="grep --color=auto"
317alias hssh="ssh -F ~/.ssh/home" 323alias hssh="ssh -F ~/.ssh/home"
318alias hscp="scp -F ~/.ssh/home" 324alias hscp="scp -F ~/.ssh/home"
325alias tmux-lighten="tmux set-environment -g TERM_BG_SHADE light"
326alias tmux-darken="tmux set-environment -g TERM_BG_SHADE dark"
319 327
320# ls Aliases 328# ls Aliases
321# Color flags a different between BSD ls and GNU ls 329# Color flags a different between BSD ls and GNU ls