servers/bash_profile @ f92e74e96687

Merge.
author Steve Losh <steve@stevelosh.com>
date Sun, 26 Jan 2020 17:32:54 -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$ '