aboutsummaryrefslogtreecommitdiff
path: root/store/config/home
diff options
context:
space:
mode:
Diffstat (limited to 'store/config/home')
-rw-r--r--store/config/home/bash_profile5
-rw-r--r--store/config/home/bashrc19
-rw-r--r--store/config/home/gitconfig11
3 files changed, 35 insertions, 0 deletions
diff --git a/store/config/home/bash_profile b/store/config/home/bash_profile
new file mode 100644
index 0000000..92375ee
--- /dev/null
+++ b/store/config/home/bash_profile
@@ -0,0 +1,5 @@
+if [ -r ~/.profile ]; then . ~/.profile; fi
+
+export PATH="$HOME/.local/bin:$PATH"
+
+case "$-" in *i*) if [ -r ~/.bashrc ]; then . ~/.bashrc; fi;; esac
diff --git a/store/config/home/bashrc b/store/config/home/bashrc
new file mode 100644
index 0000000..162c250
--- /dev/null
+++ b/store/config/home/bashrc
@@ -0,0 +1,19 @@
+[[ $- != *i* ]] && return
+
+alias ls='ls --color=auto'
+alias grep='grep --color=auto'
+PS1='[\u@\h \W]\$ '
+
+set-proxy() {
+ export http_proxy="http://127.0.0.1:7897"
+ export https_proxy="http://127.0.0.1:7897"
+ export HTTP_PROXY="http://127.0.0.1:7897"
+ export HTTPS_PROXY="http://127.0.0.1:7897"
+}
+
+unset-proxy() {
+ unset http_proxy
+ unset https_proxy
+ unset HTTP_PROXY
+ unset HTTPS_PROXY
+}
diff --git a/store/config/home/gitconfig b/store/config/home/gitconfig
new file mode 100644
index 0000000..4b88c56
--- /dev/null
+++ b/store/config/home/gitconfig
@@ -0,0 +1,11 @@
+[user]
+ name = Yuqian Yang
+ email = crupest@crupest.life
+[core]
+ autocrlf = false
+ editor = vim
+[credential]
+ helper = /usr/lib/git-core/git-credential-libsecret
+[alias]
+ lg = log --decorate --oneline --graph
+ pap = push --all --prune