Compare commits

..

No commits in common. "f261b58ce66e4f193cb5c75fb90732a45f5b3b5a" and "8875a7c2198ed247cd04a1e1d7ac381fee2b92be" have entirely different histories.

7 changed files with 26 additions and 47 deletions

View File

@ -25,26 +25,15 @@ hist() {
} }
search() { search() {
if [ "$1" = '-a' ]; then res=$(find /home/usr/ /home/usr/doc/ \
res=$(find /home/usr/ /home/usr/doc/ \ -mindepth 1 \
-mindepth 1 \ -not -path '*/.*' \
-not -path '*/.*' \ -not -path './Mail/*' \
-not -path './Mail/*' \ -not -path './vdir/*' \
-not -path './vdir/*' \ -not -path '*venv*' \
-not -path '*venv*' \ -not -path '*node_modules*' \
-not -path '*node_modules*' \ -not -path '*__pycache__*' \
-not -path '*__pycache__*' \ -type d | cut -c 11- | fzy)
-type d | cut -c 11- | fzy)
else
res=$(find $(pwd) \
-mindepth 1 \
-not -path '*/.*' \
-not -path './Mail/*' \
-not -path './vdir/*' \
-not -path '*venv*' \
-not -path '*node_modules*' \
-not -path '*__pycache__*' \
-type d | cut -c 11- | fzy)
fi
[ -n "$res" ] && cd /home/usr/"$res" [ -n "$res" ] && cd /home/usr/"$res"
} }

View File

@ -2,11 +2,9 @@
[[home]] [[home]]
path = "~/vdir/calendar/personal/edfbeaf1-e9f3-4d94-a512-40cdafdbc7a0" path = "~/vdir/calendar/personal/edfbeaf1-e9f3-4d94-a512-40cdafdbc7a0"
color = dark green color = dark green
[[band]] [[band]]
path = "~/vdir/calendar/band" path = "~/vdir/calendar/band"
color = light cyan color = dark green
[locale] [locale]
timeformat = %H:%M timeformat = %H:%M
dateformat = %Y-%m-%d dateformat = %Y-%m-%d

View File

@ -14,4 +14,6 @@ def write_history():
except OSError: except OSError:
pass pass
print("laskdjflaskfjd")
atexit.register(write_history) atexit.register(write_history)

View File

@ -84,21 +84,11 @@ case "$(hostname)" in
sshfs usr@192.168.1.120:/home/usr/doc $HOME/.cache/mount_point sshfs usr@192.168.1.120:/home/usr/doc $HOME/.cache/mount_point
ln -sf $HOME/.cache/mount_point $HOME/doc ln -sf $HOME/.cache/mount_point $HOME/doc
rm $HOME/.thunderbird # see previous comment rm $HOME/.thunderbird
mkdir -p $HOME/.cache/mount_point3 mkdir -p $HOME/.cache/mount_point3
sshfs usr@192.168.1.120:/home/usr/.thunderbird $HOME/.cache/mount_point3 sshfs usr@192.168.1.120:/home/usr/.thunderbird $HOME/.cache/mount_point3
ln -sf $HOME/.cache/mount_point3 $HOME/.thunderbird ln -sf $HOME/.cache/mount_point3 $HOME/.thunderbird
rm $HOME/Mail
mkdir -p $HOME/.cache/mount_point4
sshfs usr@192.168.1.120:/home/usr/Mail $HOME/.cache/mount_point4
ln -sf $HOME/.cache/mount_point4 $HOME/Mail
rm $HOME/vdir
mkdir -p $HOME/.cache/mount_point5
sshfs usr@192.168.1.120:/home/usr/vdir $HOME/.cache/mount_point5
ln -sf $HOME/.cache/mount_point5 $HOME/vdir
;; ;;
"x230t") "x230t")
echo "x230t" echo "x230t"

View File

@ -2,7 +2,6 @@
case $1 in case $1 in
"regular") "regular")
khal new -a home $2 07:00 07:01 Depart
khal new -a home $2 07:40 08:28 Spanish I H khal new -a home $2 07:40 08:28 Spanish I H
khal new -a home $2 08:34 09:21 AP Human Geography khal new -a home $2 08:34 09:21 AP Human Geography
khal new -a home $2 09:27 09:52 SAIL khal new -a home $2 09:27 09:52 SAIL
@ -14,15 +13,14 @@ case $1 in
khal new -a home $2 13:59 14:47 Algebra II H khal new -a home $2 13:59 14:47 Algebra II H
;; ;;
"late") "late")
khal new -a home $2 07:40 07:41 Depart khal new -a home $2 08:40 08:28 Spanish I H
khal new -a home $2 08:25 09:06 Spanish I H khal new -a home $2 08:34 09:21 AP Human Geography
khal new -a home $2 09:12 09:52 AP Human Geography khal new -a home $2 09:27 09:52 SAIL
khal new -a home $2 09:58 10:23 SAIL khal new -a home $2 09:58 10:45 Symphonic Band
khal new -a home $2 10:29 11:09 Symphonic Band khal new -a home $2 10:51 11:38 English I H
khal new -a home $2 11:15 11:55 English I H khal new -a home $2 11:38 12:07 Lunch
khal new -a home $2 11:55 12:28 Lunch khal new -a home $2 12:13 13:00 Biology I H
khal new -a home $2 12:34 13:14 Biology I H khal new -a home $2 13:06 13:53 Study Hall
khal new -a home $2 13:20 14:00 Study Hall khal new -a home $2 13:59 14:47 Algebra II H
khal new -a home $2 14:06 14:47 Algebra II H
;; ;;
esac esac

View File

@ -2,7 +2,7 @@
{ {
home.file = { home.file = {
".config/python/pythonrc.py" = { ".config/python/pythonrc" = {
source = ../../.config/python/pythonrc.py; source = ../../.config/python/pythonrc.py;
}; };
}; };

View File

@ -8,6 +8,8 @@
./tridactyl ./tridactyl
./zathura ./zathura
./wallpapers ./wallpapers
./firefox
./emacs
./vdirsyncer ./vdirsyncer
./khal ./khal
./isync ./isync