diff options
| author | 2015-08-31 22:41:37 +0200 | |
|---|---|---|
| committer | 2015-08-31 22:41:37 +0200 | |
| commit | 9edbb2ac158e9161fc5265a1ef17ea6a26881b54 (patch) | |
| tree | cf9cf341021481eb9588027ee3acd04f1db09cb1 | |
| parent | 971aab4e104dc8085b246ba93146ca724d38ec07 (diff) | |
| download | dotfiles-9edbb2ac158e9161fc5265a1ef17ea6a26881b54.tar.gz dotfiles-9edbb2ac158e9161fc5265a1ef17ea6a26881b54.tar.bz2 dotfiles-9edbb2ac158e9161fc5265a1ef17ea6a26881b54.zip | |
Moved to gnome-keyring-daemon startup to bashrc
| -rw-r--r-- | bash/.bash_profile | 12 | ||||
| -rwxr-xr-x | bash/.bashrc | 8 |
2 files changed, 8 insertions, 12 deletions
diff --git a/bash/.bash_profile b/bash/.bash_profile deleted file mode 100644 index a4e4eb2..0000000 --- a/bash/.bash_profile +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | # | ||
| 2 | # ~/.bash_profile | ||
| 3 | # | ||
| 4 | |||
| 5 | if [ -n "$DESKTOP_SESSION" ];then | ||
| 6 | eval $(gnome-keyring-daemon --start) | ||
| 7 | export SSH_AUTH_SOCK | ||
| 8 | fi | ||
| 9 | |||
| 10 | [[ -f ~/.bashrc ]] && . ~/.bashrc | ||
| 11 | [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx | ||
| 12 | |||
diff --git a/bash/.bashrc b/bash/.bashrc index 247955a..2e6df21 100755 --- a/bash/.bashrc +++ b/bash/.bashrc | |||
| @@ -163,6 +163,14 @@ if exists pip; then | |||
| 163 | } | 163 | } |
| 164 | fi | 164 | fi |
| 165 | 165 | ||
| 166 | # Start gnome-keyring-daemon | ||
| 167 | if exists gnome-keyring-daemon; then | ||
| 168 | if [ -n "$DESKTOP_SESSION" ];then | ||
| 169 | eval $(gnome-keyring-daemon --start) | ||
| 170 | export SSH_AUTH_SOCK | ||
| 171 | fi | ||
| 172 | fi | ||
| 173 | |||
| 166 | # Fancy bash prompt | 174 | # Fancy bash prompt |
| 167 | if exists liquidprompt; then | 175 | if exists liquidprompt; then |
| 168 | source liquidprompt | 176 | source liquidprompt |
