From edf96cd42c951a2b7027230244c936a19a1cfc77 Mon Sep 17 00:00:00 2001 From: Ceda EI Date: Sun, 12 May 2019 13:32:26 +0530 Subject: [PATCH] Add .bashrc --- bash/.bashrc | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 bash/.bashrc diff --git a/bash/.bashrc b/bash/.bashrc new file mode 100644 index 0000000..5f97267 --- /dev/null +++ b/bash/.bashrc @@ -0,0 +1,43 @@ +# +# ~/.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=rgb_gradient +source ~/.config/wish/wish.sh