dotfiles/bash/.bashrc

25 lines
340 B
Bash

#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls -G'
PS1='[\u@\h \W]\$ '
if [ -x "$(command -v direnv)" ];
then
eval "$(direnv hook bash)"
fi
alias edit="$(which emacsclient) "
if [ -f ~/.bashrc.local ];
then
source ~/.bashrc.local
fi
alias k=kubectl
alias kctx=kubectx