diff --git a/zshrc.org b/zshrc.org index 57ab62a..5b59e50 100644 --- a/zshrc.org +++ b/zshrc.org @@ -73,7 +73,9 @@ Define a number of KDE helpers. The other two swap between build and src dirs on my local git checkout -#+begin_src sh +#+begin_src sh :tangle kde-utils.sh + #!/bin/zsh + kde-current-activity () { qdbus >/dev/null && kactivities-cli --current-activity | awk {'print $2'} } @@ -93,6 +95,10 @@ The other two swap between build and src dirs on my local git checkout } #+end_src +#+begin_src sh +source ~/scripts/kde-utils.sh +#+end_src + **** TODO See if we can use zsh expansion instead of sed *** Android helpers :daily: