Skip to content

Instantly share code, notes, and snippets.

#ONE PS1 TO RULE THEM ALL
#add this to ~/.bash_profile or system equivalent
export PS1="\[\033[0;32m\]\u@\`if [ \$? = 0 ]; then echo \[\e[32m\] ┬─┬ノ\(º _ ºノ\); else echo \[\e[31m\] \(ノಥ 益ಥ)ノ ┻━┻ ; fi\`\[\e[0m\]:\w\$ "
@Kanaderu
Kanaderu / tmux_local_install.sh
Created February 10, 2017 15:12 — forked from ryin/tmux_local_install.sh
bash script for installing tmux without root access
#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
TMUX_VERSION=1.8
@Kanaderu
Kanaderu / .tmux.conf
Created February 10, 2017 15:12 — forked from ryin/.tmux.conf
tmux 1.6 configuration file
set -g default-terminal "screen-256color"
# set window notifications
setw -g monitor-activity on
set -g visual-activity on
# set vi keybindings
set-window-option -g mode-keys vi
# remap PREFIX to C-a