This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Path | |
| export HISTSIZE=1000000000 | |
| export SAVEHIST=$HISTSIZE | |
| export PATH=$HOME/.local/bin:$PATH | |
| export PATH=$PATH:/Users/seb/.config/emacs/bin | |
| export MANPATH=$HOME/.local/share/man:$MANPATH | |
| # Antigravity | |
| export PATH="/Users/seb/.antigravity/antigravity/bin:$PATH" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Aliaes | |
| alias ..="cd .." | |
| alias ll="ls -l" | |
| # Options | |
| setopt EXTENDED_HISTORY | |
| setopt autocd | |
| # Set up tab completion | |
| autoload -Uz compinit && compinit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Colourised tail output for | |
| function colourtail() { | |
| tail $* | sed \ | |
| -e 's/==>.*<==/\x1b[95m&\x1b[0m/' \ | |
| -e 's/.*\bDEBUG.*/\x1b[96m&\x1b[0m/' \ | |
| -e 's/.*\bWARN.*/\x1b[93m&\x1b[0m/' \ | |
| -e 's/.*\bERR.*/\x1b[91m&\x1b[0m/' \ | |
| -e 's/^[a-z.]\+\.[A-Za-z]*\(Exception\|Error\):.*/\x1b[93;41m&\x1b[0m/' \ | |
| -e 's/^[ \t]*\bat .*/\x1b[37m&\x1b[0m/i' | |
| } |