More
author |
Steve Losh <steve@stevelosh.com> |
date |
Mon, 20 Jan 2020 12:18:19 -0500 |
parents |
52df46e416f5 |
children |
(none) |
#!/usr/bin/env bash
shopt -s expand_aliases
export PATH=~/bin:~/dotfiles/bin:$PATH
alias l='ls -1 --color=auto'
alias ll='ls -la1 --color=auto'
alias h='hg'
alias g='git'
alias pj='python -m json.tool'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
alias ......='cd ../../../../..'
alias nvim=vim
function psg() {
ps auxww | grep --color=always $* | grep -v grep | collapse | cuts -f 2,11-
}
export EDITOR=vim
D=$'\e[37m'
PINK=$'\e[35m'
GREEN=$'\e[32m'
ORANGE=$'\e[33m'
export PS1='\n${PINK}\u ${D}at ${ORANGE}\h ${D}in ${GREEN}\w${D}\n$ '