diff options
author | tdro <tdro@users.noreply.github.com> | 2020-01-15 18:06:23 -0500 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-01-15 18:06:23 -0500 |
commit | d4e87355c2a59c207daf1e919d82e3621691ffbc (patch) | |
tree | 5bf5ddc3bb9705c0440f9904fb6c9b89272d73c7 /.bashrc | |
parent | 437745f575a329537e3dd5c2fa2ff6b58c9f90d4 (diff) | |
download | dotfiles-d4e87355c2a59c207daf1e919d82e3621691ffbc.tar.gz dotfiles-d4e87355c2a59c207daf1e919d82e3621691ffbc.tar.bz2 dotfiles-d4e87355c2a59c207daf1e919d82e3621691ffbc.zip |
.bashrc: Cleanup and path changes
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 18 |
1 files changed, 6 insertions, 12 deletions
@@ -64,8 +64,8 @@ man() { man "$@" } -# disable less history -export LESSHISTFILE=- +# set less history path +export LESSHISTFILE=$HOME/.cache/less.history # bash history settings export HISTSIZE= @@ -75,6 +75,9 @@ export HISTCONTROL=ignoredups:erasedups # prompt command runs on every command export PROMPT_COMMAND="cd .; history -a" +# set wget history path +alias wget="wget --hsts-file $HOME/.cache/wget.history" + # ssh agent with keychain alias ssh='eval $(/usr/bin/keychain --eval --agents ssh -Q --quiet ~/.ssh/mobile ~/.ssh/primary) && ssh' @@ -100,15 +103,6 @@ alias chgrp='chgrp --preserve-root' # locate replaced with locate -e alias locate='locate -ie' -# reboot / halt / poweroff which are symlink'd to systemd -alias reboot='sudo /sbin/reboot' -alias poweroff='sudo /sbin/poweroff' -alias halt='sudo /sbin/halt' -alias shutdown='sudo /sbin/shutdown' - -# journalctl -alias journalctl='sudo journalctl -q' - # wavemon alias wavemon='sudo wavemon' @@ -122,7 +116,7 @@ alias grep='grep --color=tty -d skip' alias alsamixer='alsamixer -V all' # fzf listed history -alias fuzzy-history='cat $HOME/.bash_history | fzf' +alias fzh='cat $HOME/.bash_history | fzf' # pulse delay on audacity alias audacity='PULSE_LATENCY_MSEC=30 audacity' |