Created
May 14, 2015 00:41
-
-
Save jpillora/782c84444d0dde98419b to your computer and use it in GitHub Desktop.
Dot files
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
#env | |
set -x GOPATH $HOME/go | |
set -x PATH $GOPATH/bin /usr/local/go/bin $PATH | |
#fish | |
set fish_greeting "" | |
function fish_prompt | |
set_color $fish_color_cwd | |
echo -n yournamehere | |
echo -n ' ' | |
set_color cyan | |
echo -n (prompt_pwd) | |
set_color normal | |
echo -n ' ' | |
end | |
function prompt_pwd --description 'Print the current working directory, NOT shortened to fit the prompt' | |
printf "%s" (echo $PWD) | |
end |
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
#install fish2 on ubuntu | |
apt-add-repository ppa:fish-shell/release-2 | |
apt-get update | |
apt-get install fish | |
chshchsh -s /usr/bin/fish |
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
# Get rid of bad bindings | |
unbind C-b | |
unbind C-a | |
unbind % | |
unbind , | |
unbind . | |
unbind n | |
unbind p | |
unbind [ | |
unbind '"' | |
unbind l | |
unbind & | |
unbind "'" | |
# Fish! | |
set-option -g default-shell /usr/bin/fish | |
# C-b is bad | |
set-option -g prefix C-a | |
bind-key C-a last-pane | |
# Start numbering at 1 | |
set -g base-index 1 | |
# Allows for faster key repetition | |
set -s escape-time 0 | |
# Activity monitoring | |
#setw -g monitor-activity on | |
#set -g visual-activity on | |
bind-key C-s split-window -h | |
bind-key C-w split-window -v | |
bind-key Up select-pane -U | |
bind-key Down select-pane -D | |
bind-key Left select-pane -L | |
bind-key Right select-pane -R | |
# Visuals | |
set-option -g set-titles on | |
set-option -g set-titles-string '[#I] #W' | |
set-option -g pane-active-border-fg yellow | |
set-option -g pane-border-fg white | |
#set-option -g status-left '⣿' | |
#set-option -g status-right '⡇ #[bold]❐ #S:#I#[default] ⡇ #[bold]#(whoami) ● #H#[default] ' | |
#set-option -g status-right '⡇ ❐ #S ⡇ ❖ #(rvm tools identifier) ⡇ #(whoami) ● #H ' | |
set-option -g status-left ' #[bold]❐ #S#[default] ⡇' | |
set-option -g status-right '#[bold]#(whoami) ● #H#[default] ' | |
set-option -g status-right-length 60 | |
set-option -g status-left-length 60 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment