Make POSIX-compatible

f5bd2ee732d7c8f4c999cfde8f09890a8a627b76
Alexis Sellier committed ago 1 parent 96b5c3d5
.xinitrc +1 -1
1 1
#!/bin/sh
2 2
#
3 3
# ~/.xinitrc
4 4
#
5 -
set -uo pipefail
5 +
set -ue
6 6
7 7
. ~/bin/toggle-displays
8 8
9 9
[ -f ~/.synaptics ] && . ~/.synaptics
10 10
bin/share-sync +1 -1
1 1
#!/bin/sh
2 2
# pacman -S inotify-tools openssh rsync
3 3
4 -
set -euf -o pipefail
4 +
set -eu
5 5
6 6
dir=$HOME/share/
7 7
user=$(whoami)
8 8
9 9
if [ ! -d "$dir" ]; then