44 lines
914 B
Bash
44 lines
914 B
Bash
#
|
|
# ~/.bashrc
|
|
#
|
|
|
|
# If not running interactively, don't do anything
|
|
[[ $- != *i* ]] && return
|
|
|
|
# ALIASES
|
|
|
|
alias ls='ls --color=auto'
|
|
alias calc='qalc'
|
|
alias nano='nano -A -i -w'
|
|
alias p='python3'
|
|
alias p2='python2'
|
|
alias tmux='tmux -2'
|
|
alias myip='curl ident.me ; echo '
|
|
alias lls='ls --color=none'
|
|
alias y='ytda `xclip -out` &'
|
|
alias mb='~/bin-client/mbin.sh'
|
|
alias ll='ls -l'
|
|
|
|
# VARIABLES
|
|
|
|
export HISTCONTROL=ignoredups
|
|
export HISTSIZE=1000000
|
|
export VISUAL="vim"
|
|
export LANG=en_US.UTF-8
|
|
HISTIGNORE="[ ]*"
|
|
export VAGRANT_DEFAULT_PROVIDER="libvirt"
|
|
export MKR_BIN="https://bin.webionite.com/"
|
|
export HASTEBIN=1
|
|
export EDITOR="vim"
|
|
|
|
PROMPT_COMMAND="history -a;"
|
|
[[ -r "/usr/share/z/z.sh" ]] && source /usr/share/z/z.sh
|
|
|
|
# WISH
|
|
|
|
WISH_PLUGINS=(newline exit_code bg_jobs hostname date path vcs newline username space)
|
|
WISH_POWERLINE=1
|
|
WISH_DATE_FORMAT="%d %b %H:%M"
|
|
WISH_THEME=lowfi-neon
|
|
source ~/.config/wish/wish.sh
|