My awesome dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

51 lines
1.5 KiB

#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
if [ -f /etc/bash.command-not-found ]; then
. /etc/bash.command-not-found
fi
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
alias ls='ls --color=auto'
alias ..='cd ..'
alias escaps='setxkbmap -option caps:swapescape'
alias vimrc='vim ~/.vim/vimrc'
alias bashrc='vim ~/.config/bash/bashrc'
alias project='cd ~/programs/projects'
alias open='vim "$(fzf)"'
alias vi="vim"
alias bash='bash --init-file ~/.config/bash/bashrc'
alias btpd='btpd -d ~/.config/btpd/'
alias mirrors='sudo vim /etc/pacman.d/mirrorlist'
alias cleanup='rm ~/.xmonad/xmonad.errors ~/.xmonad/xmonad.hi ~/.xmonad/xmonad.o ~/.xmonad/xmonad-x86_64-linux'
export ABDUCO_SOCKET_DIR=/home/krrish/.config/abduco
export XMONAD_DATA_DIR='/home/krrish/.config/xmonad'
export XDG_CONFIG_HOME='/home/krrish/.config'
export XDG_DATA_HOME='/home/krrish/.local/share'
export XDG_CACHE_HOME='/home/krrish/.cache/'
export ANDROID_SDK_HOME="$XDG_CONFIG_HOME"/android
export ANDROID_AVD_HOME="$XDG_DATA_HOME"/android/
export ANDROID_EMULATOR_HOME="$XDG_DATA_HOME"/android/
export ADB_VENDOR_KEY="$XDG_CONFIG_HOME"/android
export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
export LESSKEY="$XDG_CONFIG_HOME"/less/lesskey
export LESSHISTFILE="$XDG_CACHE_HOME"/less/history
export MPLAYER_HOME="$XDG_CONFIG_HOME"/mplayer
export HISTFILE="$XDG_DATA_HOME"/bash/bash_history
PS1='[\u@\h \W]\$ '
set -o vi
. ~/programs/scripts/git-completion.bash
eval $(thefuck --alias)
neofetch