fix: kill mpc-current when mpc unavailable
This commit is contained in:
parent
6215d6772d
commit
9b8c331a6a
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ ! -x "$(command -v mpc)" ] && exit
|
||||
|
||||
alias mpc-current='mpc -f "%title% - %album% - %artist%" current'
|
||||
|
||||
mpc-current
|
||||
|
|
3
.profile
3
.profile
|
@ -1,7 +1,8 @@
|
|||
export VIMINIT='source ~/.config/vim/vimrc'
|
||||
export PASSWORD_STORE_GENERATED_LENGTH='64'
|
||||
|
||||
if [ -x "$(command -v gpgconf)" ]; then
|
||||
if [ -x "$(command -v gpgconf)" ]
|
||||
then
|
||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||
gpgconf --launch gpg-agent
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue