diff options
author | Mike Crute <crutem@amazon.com> | 2018-12-17 10:23:38 -0800 |
---|---|---|
committer | Mike Crute <crutem@amazon.com> | 2018-12-17 10:23:38 -0800 |
commit | 631bea37b3ec6595765c31eabd7e0b325cf52d76 (patch) | |
tree | 5faa23448a47852e57176df8372a09d3a4745304 /.bashrc | |
parent | 2263dc83ab56672243b808db1401b731878b212d (diff) | |
download | dotfiles-631bea37b3ec6595765c31eabd7e0b325cf52d76.tar.bz2 dotfiles-631bea37b3ec6595765c31eabd7e0b325cf52d76.tar.xz dotfiles-631bea37b3ec6595765c31eabd7e0b325cf52d76.zip |
Migrate commands from local bashrc
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -277,6 +277,7 @@ have_command tidy && alias tidy_xml='tidy -xml -indent -wrap 0 2>/dev/null' | |||
277 | have_command gitx && alias gitx="gitx --all" | 277 | have_command gitx && alias gitx="gitx --all" |
278 | have_command play && alias noise='play -n synth brownnoise synth pinknoise mix vol 0.5' | 278 | have_command play && alias noise='play -n synth brownnoise synth pinknoise mix vol 0.5' |
279 | have_command socat && alias hproxy="socat TCP4-LISTEN:6600,fork SOCKS4:127.0.0.1:172.16.0.166:6600,socksport=9999" | 279 | have_command socat && alias hproxy="socat TCP4-LISTEN:6600,fork SOCKS4:127.0.0.1:172.16.0.166:6600,socksport=9999" |
280 | have_command neomutt && alias mutt=neomutt | ||
280 | 281 | ||
281 | have_command docker && alias docker-interactive="docker run -ti --rm --detach-keys=ctrl-@ -v $HOME:$HOME " | 282 | have_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" |
308 | fi | 309 | fi |
309 | 310 | ||
311 | # Spotify on high-resolution screens without Gnome | ||
312 | if [[ -x "/snap/bin/spotify" ]]; then | ||
313 | alias spotify4k="( /snap/bin/spotify --force-device-scale-factor=2 & )&" | ||
314 | fi | ||
315 | |||
310 | # Other Useful Aliases | 316 | # Other Useful Aliases |
311 | alias vihosts="sudo vim /etc/hosts" | 317 | alias vihosts="sudo vim /etc/hosts" |
312 | alias pyclean='find . \( -name __pycache__ -o -name \*.pyc \) -delete' | 318 | alias pyclean='find . \( -name __pycache__ -o -name \*.pyc \) -delete' |
@@ -316,6 +322,8 @@ alias killfox="pkill -9 firefox" | |||
316 | alias grep="grep --color=auto" | 322 | alias grep="grep --color=auto" |
317 | alias hssh="ssh -F ~/.ssh/home" | 323 | alias hssh="ssh -F ~/.ssh/home" |
318 | alias hscp="scp -F ~/.ssh/home" | 324 | alias hscp="scp -F ~/.ssh/home" |
325 | alias tmux-lighten="tmux set-environment -g TERM_BG_SHADE light" | ||
326 | alias 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 |