Skip to content

Instantly share code, notes, and snippets.

View ronaldsuwandi's full-sized avatar
🙃

Ronald Suwandi ronaldsuwandi

🙃
View GitHub Profile
@ronaldsuwandi
ronaldsuwandi / .bashrc
Created April 1, 2016 09:49
Prompt for bashrc
# because color + coffee is awesome
PS1=$'\e[39m\u@\h:\e[32m\w\e[39m \u2615 \uFE0F '

Source

OS X

Configuration ~/Library/Preferences/<PRODUCT><VERSION>

Caches ~/Library/Caches/<PRODUCT><VERSION>

@ronaldsuwandi
ronaldsuwandi / tmux.conf
Last active January 24, 2024 02:58
Personal tmux.conf (updated for 3.2)
###########
# general #
###########
# Replace C-b prefix with Alt+Space (so it won't clash with vim)
unbind C-b
set-option -g prefix M-Space
set-window-option -g mode-keys vi
# set-option -g default-shell /usr/local/bin/fish
@ronaldsuwandi
ronaldsuwandi / config.fish
Last active July 30, 2021 07:54
My personal fish shell config for OS X. Supports git branch (fast git checks), virtualenv (if installed) and Kubernetes current context
function ls --description 'List contents of directory'
command ls -lFG $argv
end
function subl --description 'Launches sublime text in a new window'
command subl -n $argv
end
function code --description 'Launches visual code studio in a new window'
command code -n $argv
@ronaldsuwandi
ronaldsuwandi / .gitconfig
Last active April 21, 2021 23:13
My personal gitconfig
[user]
name = Ronald Suwandi
email = ronald@ronaldsuwandi.com
[core]
excludesfile = ~/.gitignore_global
editor = subl -n -w # sublime text
[diff]
tool = default-difftool