aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorDaniil Rozanov <dev@rozanov.info>2025-06-17 01:42:42 +0400
committerDaniil Rozanov <dev@rozanov.info>2025-06-17 01:42:42 +0400
commit2dcd24d371b6335a8a3f2c8937847719a3b00cb5 (patch)
tree7eb987c5b7385d655627b12b4046116a4fd80c5f /zsh
parentf8649f2913cab3e9c381dfe3d23016866bdf0929 (diff)
rocks in progress
Diffstat (limited to 'zsh')
-rwxr-xr-x[-rw-r--r--]zsh/.config/zsh/.zprofile0
-rwxr-xr-x[-rw-r--r--]zsh/.config/zsh/.zshrc7
-rwxr-xr-x[-rw-r--r--]zsh/.config/zsh/functions.zsh0
-rwxr-xr-x[-rw-r--r--]zsh/.zshenv12
4 files changed, 17 insertions, 2 deletions
diff --git a/zsh/.config/zsh/.zprofile b/zsh/.config/zsh/.zprofile
index 9e5f5fd..9e5f5fd 100644..100755
--- a/zsh/.config/zsh/.zprofile
+++ b/zsh/.config/zsh/.zprofile
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index fe0a35f..5c489a7 100644..100755
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -110,8 +110,8 @@ bindkey '^e' edit-command-line
# Aliases
alias v=nvim
alias ls="ls --color"
-alias la="ls -la"
-alias c='clear; tmux clear-history'
+alias la="ls -lah"
+alias c='clear'
alias x='source $ZDOTDIR/.zshrc'
function fkill () {
(date; ps -ef) |
@@ -135,6 +135,9 @@ alias gl='git log'
alias gsh='git show'
alias gsw='git switch'
+alias -g L=' | less -R'
+alias -g G=' | grep'
+
# Shell integrations
source <(fzf --zsh)
diff --git a/zsh/.config/zsh/functions.zsh b/zsh/.config/zsh/functions.zsh
index e854a4a..e854a4a 100644..100755
--- a/zsh/.config/zsh/functions.zsh
+++ b/zsh/.config/zsh/functions.zsh
diff --git a/zsh/.zshenv b/zsh/.zshenv
index b2783f6..7210cc0 100644..100755
--- a/zsh/.zshenv
+++ b/zsh/.zshenv
@@ -1,2 +1,14 @@
# ZSH config dir
export ZDOTDIR=$HOME/.config/zsh
+
+# TODO: DELETE THIS AS SOON AS THIS WILL BE UNNECESSARY
+# This is just a fix of some gtk bug which stops opening
+# transmission, pavucontrol and maybe other
+export GSK_RENDERER=ngl
+
+export XDG_CACHE_HOME=$HOME/.cache
+export XDG_CONFIG_HOME=$HOME/.config
+export XDG_DATA_HOME=$HOME/.local/share
+export XDG_STATE_HOME=$HOME/.local/state
+
+[[ -f "$XDG_CONFIG_HOME/user-dirs.dirs" ]] && . "$XDG_CONFIG_HOME/user-dirs.dirs"