Initial commit
This commit is contained in:
commit
b25c6c8c60
2
README.md
Normal file
2
README.md
Normal file
@ -0,0 +1,2 @@
|
||||
# bashrc-mine
|
||||
Add-on for [main bashrc](https://gitea.kto.black/adminconf/rcs-general), specific to mine computers
|
38
bashrc-mine
Normal file
38
bashrc-mine
Normal file
@ -0,0 +1,38 @@
|
||||
# ~/.bashrc-mine
|
||||
# byMasterKTO
|
||||
|
||||
## SSH configuration
|
||||
# Start or load SSH agent TODO manage keychain absence
|
||||
eval $(keychain --quiet --eval --agents ssh)
|
||||
|
||||
# Set Keychain aliases
|
||||
alias kc-home='keychain ~/.ssh/home'
|
||||
alias kc-project='keychain ~/.ssh/project'
|
||||
alias kc-gem='keychain ~/.ssh/gem'
|
||||
alias kc-clean='keychain --clear'
|
||||
alias kcd-home='ssh-add -d ~/.ssh/home'
|
||||
alias kcd-project='ssh-add -d ~/.ssh/project'
|
||||
alias kcd-gem='ssh-add -d ~/.ssh/gem'
|
||||
alias kc-l='keychain -l'
|
||||
|
||||
|
||||
# Set Firefox profile backup aliases
|
||||
alias ff-load='~/Secure/IT/Data/scripts/firefox/firefox-load.sh'
|
||||
alias ff-save='~/Secure/IT/Data/scripts/firefox/firefox-save.sh'
|
||||
|
||||
# Set SSH VNC alias (may be temporary, if we could set it up in SSH config file)
|
||||
alias sshvnc='ssh -L 5901:localhost:5900'
|
||||
|
||||
# Set wake alias
|
||||
alias wake='~/Secure/IT/Data/scripts/wake.sh'
|
||||
|
||||
# Set syncloud alias TODO
|
||||
#alias syncloud='nextcloudcmd -u alex ~/Nextcloud https://cloud.kto.black'
|
||||
|
||||
# Set vbox alias
|
||||
alias vboxstart='vboxmanage startvm --type=headless'
|
||||
|
||||
# Set git prompt NOTE if too slow, see .git-prompt.sh for an alternative solution
|
||||
[ -e ~/.git-prompt.sh ] && source ~/.git-prompt.sh
|
||||
GITPS1='$(__git_ps1 " (%s)")'
|
||||
PS1=${PS1:0:${#PS1}-4}$GITPS1' \$ '
|
Loading…
Reference in New Issue
Block a user