Updated bashrc to start ssh-agent and bwu.

This commit is contained in:
2019-10-18 17:10:23 +13:00
parent 148e6c9eb1
commit 8685cfdcb7

12
.bashrc
View File

@ -94,7 +94,7 @@ fi
alias ls='ls -l --color'
alias emacs='emacs -nw -nbc'
alias bwu='export BW_SESSION=$(bw unlock --raw)'
alias bwgi='bw get item'
alias bwgi='bw get item --pretty'
alias bwgp='bw get password'
# Alias definitions.
@ -116,5 +116,15 @@ if ! shopt -oq posix; then
. /etc/bash_completion
fi
fi
# Configure display for vcxsrv
export DISPLAY=:0.0
# Start from home folder
cd ~/
# Start ssh-agent
eval `ssh-agent`
# Start bitwarden
bwu