mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-16 11:57:23 +00:00
Add check to pastoggle, stop NVIM LanguageClient from autostarting
This commit is contained in:
parent
0b59029492
commit
47b2f8254b
2 changed files with 4 additions and 0 deletions
|
|
@ -8,6 +8,9 @@ function pastoggle -d 'Toggle the pulseaudio server between pc.lan and laptop.la
|
|||
set remote 'pc.lan'
|
||||
end
|
||||
|
||||
ssh $remote true
|
||||
or return $status
|
||||
|
||||
if test -f "$config"
|
||||
rm $config
|
||||
and systemctl --user restart pulseaudio.service
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue