summaryrefslogtreecommitdiffstats
path: root/down
blob: ef59b890309a669c38c4d95b722a802968904695 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/zsh

failed()
{
echo "Failed"
exit 1
}

sync
mount | grep loop | grep -v pacman && sudo umount /mnt*
unmount-removables || failed
pidof tmux && ~/bin/tux killall force
sleep 1