summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc29
1 files changed, 29 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
new file mode 100644
index 0000000..44d8e3c
--- /dev/null
+++ b/.bashrc
@@ -0,0 +1,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"