aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
l---------zsh/.local/share/config-files/zprofile1
l---------zsh/.local/share/config-files/zshrc1
-rwxr-xr-xzsh/.zprofile15
-rw-r--r--zsh/.zshrc26
4 files changed, 24 insertions, 19 deletions
diff --git a/zsh/.local/share/config-files/zprofile b/zsh/.local/share/config-files/zprofile
new file mode 120000
index 0000000..5c57bdf
--- /dev/null
+++ b/zsh/.local/share/config-files/zprofile
@@ -0,0 +1 @@
+../../../.zprofile \ No newline at end of file
diff --git a/zsh/.local/share/config-files/zshrc b/zsh/.local/share/config-files/zshrc
new file mode 120000
index 0000000..673de52
--- /dev/null
+++ b/zsh/.local/share/config-files/zshrc
@@ -0,0 +1 @@
+../../../.zshrc \ No newline at end of file
diff --git a/zsh/.zprofile b/zsh/.zprofile
index d1e8f03..a4514ae 100755
--- a/zsh/.zprofile
+++ b/zsh/.zprofile
@@ -1,12 +1,13 @@
-if type "cowfortune" > /dev/null; then
- cowfortune
-fi
+source /etc/zsh/zprofile
+#if type "cowfortune" > /dev/null; then
+# cowfortune
+#fi
#. /etc/profile.d/vte.sh
-export TERM=xterm-256color
+#export TERM=xterm-256color
-export EDITOR=emacsclient
+export EDITOR="emacsclient -c"
export DEFAULT_USER=peter
@@ -16,9 +17,11 @@ export QT_SCALE_FACTOR=0
export MTP_NO_PROBE="1"
+export XDG_CONFIG_HOME="$HOME/.config"
+
# Android SDK
-export ANDROID_HOME=/home/peter/Android/Sdk
+export ANDROID_HOME="$HOME/.local/share/android-sdk"
export PATH="$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools/bin:$PATH"
# bin
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 806c84f..76c1411 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -50,26 +50,26 @@ if [ "$TERM" = "linux" ]; then
fi
if type "kitty" > /dev/null; then
- autoload -Uz compinit
- compinit
- # Completion for kitty
- kitty + complete setup zsh | source /dev/stdin
-
- alias kdiff="kitty +kitten diff"
- alias kicat="kitty +kitten icat"
- alias kunicode="kitty +kitten unicode_input"
- alias kpanel="kitty +kitten panel"
- alias khints="kitty +kitten hints"
- alias kclip="kitty +kitten clipboard"
+ autoload -Uz compinit
+ compinit
+ # Completion for kitty
+ kitty + complete setup zsh | source /dev/stdin
+
+ alias kdiff="kitty +kitten diff"
+ alias kicat="kitty +kitten icat"
+ alias kunicode="kitty +kitten unicode_input"
+ alias kpanel="kitty +kitten panel"
+ alias khints="kitty +kitten hints"
+ alias kclip="kitty +kitten clipboard"
fi
if type "exa" > /dev/null; then
- alias ls=exa
+ alias ls=exa
fi
if type "thefuck" > /dev/null; then
- eval $(thefuck --alias)
+ eval $(thefuck --alias)
fi
if type "fasd" > /dev/null; then