blob: 23f188a2516e6073905209716e69a5a85a6025db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
CFG="$XDG_CONFIG_HOME/khal/config"
cat - "$XDG_CONFIG_HOME/khal/base" << "EOF" > "$CFG"
# THIS FILE IS AUTO-GENERATED, EDIT config_gen OR base INSTEAD!!!
EOF
"$XDG_CONFIG_HOME/khal/config_gen" >> "$CFG"
# aliases
[ "$1" == "i" ] && { shift ; set -- interactive "$@" ; }
[ "$1" == "l" ] && { shift ; set -- list "$@" ; }
exec /usr/bin/khal "$@"
|