diff --git a/zsh/functions.zsh b/zsh/functions.zsh new file mode 100644 index 0000000..aa8fc05 --- /dev/null +++ b/zsh/functions.zsh @@ -0,0 +1,10 @@ +function colours() { + for i in {0..255}; do + printf "\x1b[38;5;${i}mcolours${i}" + if (( $i % 5 == 0 )); then + printf "\n" + else + printf "\t" + fi + done +} diff --git a/zsh/zshrc.symlink b/zsh/zshrc.symlink index 0ee59dc..46dad48 100644 --- a/zsh/zshrc.symlink +++ b/zsh/zshrc.symlink @@ -35,3 +35,5 @@ fi if [[ -d ~/bin ]]; then export PATH=~/bin:$PATH fi + +[ -z "$TMUX" ] && export TERM=xterm-256color