summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-04-02 01:07:47 -0700
committerxyz <gky44px1999@gmail.com>2021-04-02 01:07:47 -0700
commit294fae0c2269bab0ed4401a4415861354e5e293f (patch)
tree58e8a91d788d7130b4854351443e7785b59f6b3d /.bashrc
add bashrc
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc19
1 files changed, 19 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
new file mode 100644
index 00000000..f7ecf887
--- /dev/null
+++ b/.bashrc
@@ -0,0 +1,19 @@
+#
+# ~/.bashrc
+#
+
+# If not running interactively, don't do anything
+[[ $- != *i* ]] && return
+
+alias ls='ls --color=auto'
+PS1='[\u@\h \W]\$ '
+
+alias cfgc='/usr/bin/git --git-dir=$HOME/.mycfg_cross_platform/ --work-tree=$HOME'
+alias cfgl='/usr/bin/git --git-dir=$HOME/.mycfg_local/ --work-tree=$HOME'
+
+export XDG_CONFIG_HOME="$HOME/.config"
+export XDG_CACHE_HOME="$HOME/.cache"
+export XDG_DATA_HOME="$HOME/.local/share"
+
+export SSH_AUTH_SOCK="XDG_RUNTIME_DIR/ssh-agent.socket"
+