Remove SSH agent from gitted config
This commit is contained in:
parent
26d986da8e
commit
2b2c33e472
4 changed files with 10 additions and 21 deletions
|
@ -1,11 +1,3 @@
|
|||
# Load the shell dotfiles, and then some:
|
||||
# * ~/.path can be used to extend `$PATH`.
|
||||
# * ~/.extra can be used for other settings you don’t want to commit.
|
||||
for file in ~/.{bash_prompt,aliases,functions,path,extra,exports}; do
|
||||
[[ -r "$file" ]] && [[ -f "$file" ]] && source "$file"
|
||||
done
|
||||
unset file
|
||||
|
||||
# Case-insensitive globbing (used in pathname expansion)
|
||||
#shopt -s nocaseglob
|
||||
|
||||
|
@ -30,5 +22,13 @@ done
|
|||
grep -v "[?*]" | cut -d " " -f2 | \
|
||||
tr ' ' '\n')" scp sftp ssh
|
||||
|
||||
# Load the shell dotfiles, and then some:
|
||||
# * ~/.path can be used to extend `$PATH`.
|
||||
# * ~/.extra can be used for other settings you don’t want to commit.
|
||||
for file in ~/.{bash_prompt,aliases,functions,path,extra,exports}; do
|
||||
[[ -r "$file" ]] && [[ -f "$file" ]] && source "$file"
|
||||
done
|
||||
unset file
|
||||
|
||||
# print a fortune when the terminal opens
|
||||
which fortune > /dev/null && which lolcat > /dev/null && fortune -a -s | lolcat
|
||||
|
|
|
@ -96,5 +96,3 @@ if [[ -f $HOME/.bash_profile ]]; then
|
|||
fi
|
||||
|
||||
cd $HOME
|
||||
|
||||
test -f $HOME/.keychain/$HOSTNAME-sh && source $HOME/.keychain/$HOSTNAME-sh
|
||||
|
|
|
@ -393,15 +393,6 @@ sslcheck(){
|
|||
echo -n | openssl s_client -connect $* | tee /dev/tty | openssl x509 -text -noout
|
||||
}
|
||||
|
||||
## SSH agent
|
||||
## Add sth like test -z $noKeychain && agent to ~/.extra
|
||||
function agent(){
|
||||
/usr/bin/keychain --nolock --nogui $HOME/.ssh/id_rsa
|
||||
source $HOME/.keychain/$HOSTNAME-sh
|
||||
}
|
||||
|
||||
|
||||
|
||||
## Kubernetes Goodies
|
||||
k(){
|
||||
kubectl $*
|
||||
|
|
|
@ -216,8 +216,8 @@ bindsym XF86Sleep exec "~/.bin/screenlock.sh"
|
|||
exec --no-startup-id xautolock -time 15 -locker "~/.bin/screenlock.sh" &
|
||||
|
||||
# quick terminal
|
||||
bindsym $mod+$alt+Shift+F1 exec --no-startup-id noKeychain=1 $TERMINAL --class metask -e bash -o ignoreeof
|
||||
exec --no-startup-id noKeychain=1 $TERMINAL --class metask -e bash -o ignoreeof
|
||||
bindsym $mod+$alt+Shift+F1 exec --no-startup-id $TERMINAL --class metask -e bash -o ignoreeof
|
||||
exec --no-startup-id $TERMINAL --class metask -e bash -o ignoreeof
|
||||
for_window [instance="metask"] floating enable;
|
||||
for_window [instance="metask"] move scratchpad; \
|
||||
[instance="metask"] scratchpad show; \
|
||||
|
|
Reference in a new issue