Dotfiles
WARNING: 2018-04-29, THE STRUCTURE OF REPOSITORY HAS BEEN CHANGED, IF YOU PULLED, YOU SHOULD RE-SYMLINK THE DOTFILES
My dotfiles for: bash
, zsh
, vim
, git
, tmux
, screen
and useful tools, etc.
Install & Uninstall
READ BEFORE YOU RUN THESE SCRIPTS
Install:
./setup.sh
Uninstall:
./uninstall.sh # by default in dry-run mode, it's not going to actually execute
./uninstall.sh -f # actually execute rm symlink, and keep if it's not symlink
Usage
common/aliases.sh
:
treepy
:tree
exclude.pyc
json
: pretty print json fileccat
: cat code with colormux
: alias tmuxinatormac-listen
:netstat -tlnp
under macOS
common/functions.sh
:
pycd
: quick cd to python source package directoryset-tab
: change terminal tab's titlemdv
: markdown preview in terminal, mdvwanip
: get outer ip in private networkgetip
: get geo ipman
: man with color
common/virtualenvwrapper.sh
: source virtualenvwrapper script
common/ssh-agent-wrapper.sh
: auto start ssh agent to load private key
git/gitconfig
: user global configuration. git diff
with diff-highlight
tool, set some alias shortkey, and colors for status
pip/pip.conf
: set pypi mirror for ustc.edu.cn or douban
tmux/tmux.conf
: set prefix key with control + a
instead default control + b
, for compatible with screen
tools/tmux-multi.sh
: get hosts list file as arg, auto quick start tmux window with multiple panes, each pane with one host login by ssh, and operate these hosts synchronized.
tools/256-color.sh
: display 256 colors in terminal
State
Current the configurations and install script have been tested to work on:
- Gentoo
- Mac OS >= 10.9
- Ubuntu >= 12.04
If there are problems on other platforms, please contact me, thanks.
Contact
- HOMEPAGE: Tanky Woo
- EMAIL: [email protected]