Correctly align tags

master
Jacopo De Simoi 4 years ago
parent 2b93a188d5
commit c85e49e860
  1. 24
      zshrc.org

@ -53,7 +53,7 @@ Each environment has slightly different setups, which will be tangled
to different files according to the function `org-tags-to-filenames', to different files according to the function `org-tags-to-filenames',
defined in the previous section. defined in the previous section.
*** Include :daily:android: *** Include :daily:android:
First, include a script that sets a number of confidential data (e.g. API keys and such) First, include a script that sets a number of confidential data (e.g. API keys and such)
#+begin_src sh #+begin_src sh
source ~/.config/confidential.sh source ~/.config/confidential.sh
@ -101,7 +101,7 @@ source ~/scripts/kde-utils.sh
**** TODO See if we can use zsh expansion instead of sed **** TODO See if we can use zsh expansion instead of sed
*** Android helpers :daily: *** Android helpers :daily:
These are various helpers to drive my current Android phone when connected to the box. These are various helpers to drive my current Android phone when connected to the box.
@ -152,7 +152,7 @@ These are various helpers to drive my current Android phone when connected to th
**** TODO The last bit is really pi material **** TODO The last bit is really pi material
*** Misc helpers :pi:daily:android: *** Misc helpers :pi:daily:android:
- tmux guard - tmux guard
This function checks if we are in a tmux session before This function checks if we are in a tmux session before
executing the command; otherwise print an error and bail out executing the command; otherwise print an error and bail out
@ -188,7 +188,7 @@ BIG FAT WARNING: this needs to specify an actual file as a destination
ln $2 $1 ln $2 $1
} }
#+end_src #+end_src
*** konsole helpers :daily: *** konsole helpers :daily:
#+begin_src sh #+begin_src sh
function set-terminal-title() { function set-terminal-title() {
echo -en "\e]2;$@\a" echo -en "\e]2;$@\a"
@ -212,7 +212,7 @@ BIG FAT WARNING: this needs to specify an actual file as a destination
} }
#+end_src #+end_src
*** emacs helpers :daily:pi: *** emacs helpers :daily:pi:
#+begin_src sh #+begin_src sh
SOLARIZED="true" SOLARIZED="true"
export EMACS="emacsclient" export EMACS="emacsclient"
@ -258,7 +258,7 @@ BIG FAT WARNING: this needs to specify an actual file as a destination
export EMACS_DEF_ARGUMENTS="" export EMACS_DEF_ARGUMENTS=""
#+end_src #+end_src
*** oh-my-zsh setup :daily:pi:android: *** oh-my-zsh setup :daily:pi:android:
#+begin_src sh #+begin_src sh
# Path to your oh-my-zsh configuration. # Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh ZSH=$HOME/.oh-my-zsh
@ -371,7 +371,7 @@ further reference
bindkey -M isearch . self-insert bindkey -M isearch . self-insert
fi fi
#+end_src #+end_src
*** TODO editor env variables :daily: *** TODO editor env variables :daily:
This needs to be diff'd among the versions This needs to be diff'd among the versions
#+begin_src sh #+begin_src sh
# editor stuff # editor stuff
@ -381,7 +381,7 @@ This needs to be diff'd among the versions
export GIT_EDITOR=$EMACS export GIT_EDITOR=$EMACS
export SUDO_EDITOR=$EMACS export SUDO_EDITOR=$EMACS
#+end_src #+end_src
*** git helpers :daily: *** git helper :daily:
#+begin_src sh #+begin_src sh
git-create-pi-remote () { git-create-pi-remote () {
REPO_NAME=$(basename "`pwd`") REPO_NAME=$(basename "`pwd`")
@ -402,7 +402,7 @@ This needs to be diff'd among the versions
**** TODO Create a script to add an arbitrary remote **** TODO Create a script to add an arbitrary remote
*** Aliases :pi:android:daily: *** Aliases :pi:android:daily:
#+begin_src sh #+begin_src sh
## Aliases ## Aliases
alias emacs="eca" alias emacs="eca"
@ -423,7 +423,7 @@ This needs to be diff'd among the versions
#+begin_src sh #+begin_src sh
alias hugo="/snap/bin/hugo" alias hugo="/snap/bin/hugo"
#+end_src #+end_src
*** Pomodoro helpers :daily:pi:android: *** Pomodoro helpers :daily:pi:android:
#+begin_src sh #+begin_src sh
termdown_bin=/home/jacopods/.local/bin/termdown termdown_bin=/home/jacopods/.local/bin/termdown
@ -479,14 +479,14 @@ This needs to be diff'd among the versions
fi fi
} }
#+end_src #+end_src
*** Named directories :daily: *** Named directories :daily:
#+begin_src sh #+begin_src sh
hash -d Papers="/home/jacopods/work/Papers" hash -d Papers="/home/jacopods/work/Papers"
hash -d Books="/home/jacopods/work/Books" hash -d Books="/home/jacopods/work/Books"
hash -d kde="/scratch/kde/src" hash -d kde="/scratch/kde/src"
hash -d kde5="/scratch/kde/src5" hash -d kde5="/scratch/kde/src5"
#+end_src #+end_src
*** Un-tarmak bindings :daily: *** Un-tarmak bindings :daily:
#+begin_src sh #+begin_src sh
bindkey "^t" forward-char bindkey "^t" forward-char
bindkey "^[t" forward-word bindkey "^[t" forward-word

Loading…
Cancel
Save