From 7be0acbb1cd6b6d3c4c3df95611cb86be4b46915 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 21 Mar 2023 18:19:32 +0100 Subject: Drop desktop variant and rework nix packages --- shellrc.d/shortcuts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 shellrc.d/shortcuts (limited to 'shellrc.d/shortcuts') diff --git a/shellrc.d/shortcuts b/shellrc.d/shortcuts new file mode 100644 index 0000000..93b6283 --- /dev/null +++ b/shellrc.d/shortcuts @@ -0,0 +1,20 @@ +# vim: ft=sh: +# There are desktop specific shortcuts + +if [ -d ~/turris ]; then + turris() { + cd ~/turris/"$1" || return + } +fi + +if [ -d ~/projects ]; then + + projects() { + cd ~/projects/"$1" || return + } + + admin() { + projects admin/"$1" + } + +fi -- cgit v1.2.3