servers/bash_profile @ 11c0531d51d5

More
author Steve Losh <steve@stevelosh.com>
date Thu, 30 Jan 2020 11:51:15 -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$ '