summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorDominic DiTaranto <domdit@gmail.com>2024-08-30 11:58:58 -0400
committerDominic DiTaranto <domdit@gmail.com>2024-08-30 11:58:58 -0400
commitd83125bacfeb7d0119de5e4e9a261f428897acb5 (patch)
tree2261fe07765d81950a0238e2f781ac4a7389a17e /.bashrc
init
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"