function a(x) {
x++;
return function () {
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
# redefine Prefix | |
unbind C-b | |
set -g prefix C-a | |
bind C-a send-prefix | |
# Vi copypaste mode | |
set-window-option -g mode-keys vi | |
# don't rename windows automatically | |
set-option -g allow-rename off |
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
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc | |
fi | |
############################################# | |
# Functions | |
############################################# | |
get_git_branch(){ |
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
#!/bin/bash | |
# guake-start.sh | |
guake --rename-tab="home" & | |
sleep 3 | |
guake --new-tab=2 --rename-tab="projects" --execute-command="cd ~/projects" & | |
sleep 1 | |
guake --new-tab=3 --rename-tab="develop" --execute-command="cd ~/projects" & | |
sleep 1 | |
guake --new-tab=4 --rename-tab="git" --execute-command="cd ~/projects" & | |
sleep 1 |