summaryrefslogtreecommitdiff
path: root/.bashrc
blob: 44d8e3cde7130efb3fbc2999e2968ce3b34010f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
# ~/.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return


export GTK_IM_MODULE='fcitx'
export QT_IM_MODULE='fcitx'
export SDL_IM_MODULE='fcitx'
export XMODIFIERS='@im=fcitx'

export VISUAL=vim
export EDITOR="$VISUAL"
alias vim=nvim

#generic
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias hg='history | grep'
alias pg='ps aux | grep'
alias k9='kill -9'

# git
alias gs="git status"
alias gc="git commit -m"
alias ga="git add"
alias gcc="git checkout -b"