aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--shell/dash/.profile1
-rw-r--r--shell/zsh/.zprofile0
-rw-r--r--shell/zsh/.zshrc3
3 files changed, 3 insertions, 1 deletions
diff --git a/shell/dash/.profile b/shell/dash/.profile
new file mode 100644
index 0000000..c2f3182
--- /dev/null
+++ b/shell/dash/.profile
@@ -0,0 +1 @@
. "$HOME/.cargo/env"
diff --git a/shell/zsh/.zprofile b/shell/zsh/.zprofile
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/shell/zsh/.zprofile
diff --git a/shell/zsh/.zshrc b/shell/zsh/.zshrc
index 11170c6..354ac70 100644
--- a/shell/zsh/.zshrc
+++ b/shell/zsh/.zshrc
@@ -1,3 +1,4 @@
1stty susp "^P"
1parse_git_branch() { 2parse_git_branch() {
2 local branch="" 3 local branch=""
3 branch=$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/') 4 branch=$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/')
@@ -72,7 +73,7 @@ alias g="grep"
72alias g="rg" 73alias g="rg"
73alias zl="zellij" 74alias zl="zellij"
74alias h="htop" 75alias h="htop"
75alias n="neofetch" 76alias n="neofetch --off"
76alias poweroff="doas /usr/bin/poweroff" 77alias poweroff="doas /usr/bin/poweroff"
77alias reboot="doas /usr/bin/reboot" 78alias reboot="doas /usr/bin/reboot"
78 79