Skip to content

Instantly share code, notes, and snippets.

@automagicaly
automagicaly / .tmux.conf
Created November 14, 2017 16:23
My tmux configuration
# 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
@automagicaly
automagicaly / .bashrc
Last active September 5, 2018 20:09
git branch on command line
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
#############################################
# Functions
#############################################
get_git_branch(){

Oh my zsh.

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)

  • Download zsh-autosuggestions by
@colthreepv
colthreepv / guake-start.sh
Last active July 2, 2019 08:31
guake script to startup with tabs.
#!/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