This repository isn't really for other people, it's mostly for all my personalized configuration files so I can easily install them on any computer or environment (I'm frequently spinning up new VMs, which I like to install my dotfiles on). Feel free to use them or look through them to see what I've done.
Bash:
curl -sSL https://raw.githubusercontent.com/brandonwamboldt/dotfiles/master/install.sh | bash && source ~/.bashrc
Zsh:
curl -sSL https://raw.githubusercontent.com/brandonwamboldt/dotfiles/master/install.sh | bash && source ~/.zshrc
The default user prompt is overwritten with one that shows useful info in the title bar, and shows the user, host and working directory inline, with colors! This is my personalized prompt.
I have my personalized zsh prompt (which closely mirrors my bash prompt) with a few custom autocomplete plugins (e.g. NPM, Composer, Symfony).
I'm using the amazing Oh-My-Zsh plugin 'Z', which allows you to rapidly navigate to your favorite directories.
Instead of trying to remember which arguments to use with the tar
, just call the extract
function
extract php-5.4.3.tar.gz
Instead of remembering the code to get a process ID for running processes and piping it to xargs, use straceall
. I use it frequently to attach to Apache or PHP-FPM.
straceall php-fpm
The l
alias is provided for nicer directory listings. l
prettys nice file sizes, full file info, enables color and more!
The bash prompt will now show you the current Git branch if you are in a Git repository.
The bash prompt will now show you the current Mercurial branch if you are in a Mercurial repository.
The bash command line history won't save duplicates and it's size has been increased
The ..
alias moves you to the parent directory, ...
moves you to the parent's parent directory, ....
moves you to the parent's parent's parent directory, etc. Makes it easier to navigate out of directories!
Some useful Git aliases like st
for a condensed status view and lg
for a nicer Git log view.
While I'm still trying to get VIM setup the way I like it, all of my VIM configuration is in here.