dots

Mika's dotfiles
git clone git://popovic.xyz/dots.git/
Log | Files | Refs | README

commit 5a500ad6ba018cdd882f3a322203ed2d86f66eeb
parent 68059b8866e68cb3bc0dada80c707cf864e0826c
Author: Milutin Popovic <milutin@popovic.xyz>
Date:   Sun,  4 Jan 2026 19:03:34 +0000

Merge remote-tracking branch 'origin/master'

Diffstat:
M.config/nvim/lua/plugins/telescope.lua | 2++
M.config/shell/aliases | 1+
M.config/shell/profile | 1+
M.config/zsh/.zshrc | 3+++
4 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/.config/nvim/lua/plugins/telescope.lua b/.config/nvim/lua/plugins/telescope.lua @@ -69,6 +69,7 @@ return { os.getenv("XDG_CONFIG_HOME") .. "/X11", os.getenv("XDG_LOCAL_HOME") .. "/src", os.getenv("XDG_LOCAL_HOME") .. "/bin", + os.getenv("XDG_DOTFILES"), }, hidden = true, }) @@ -90,6 +91,7 @@ return { os.getenv("XDG_CONFIG_HOME") .. "/X11", os.getenv("XDG_LOCAL_HOME") .. "/src", os.getenv("XDG_LOCAL_HOME") .. "/bin", + os.getenv("XDG_DOTFILES"), }, hidden = true, }) diff --git a/.config/shell/aliases b/.config/shell/aliases @@ -9,6 +9,7 @@ alias shutdown="sudo shutdown -h now" alias reboot="sudo reboot" alias vim="nvim" alias fcd="cd \"./\$(find -type d | fzf)\"" +alias slock="sudo slock" alias mbsync="mbsync -c $XDG_CONFIG_HOME/isync/mbsyncrc" alias tmux="tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf" diff --git a/.config/shell/profile b/.config/shell/profile @@ -18,6 +18,7 @@ export XDG_STATE_HOME="$HOME/.local/state" export XDG_DATA_HOME="$HOME/.local/share" export XDG_PUBLICSHARE_DIR="$HOME/Cloud" export XDG_DOWNLOAD_DIR="$HOME/Downloads" +export XDG_DOTFILES="$HOME/dots" export ZDOTDIR="$XDG_CONFIG_HOME/zsh" diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc @@ -12,6 +12,8 @@ fi HISTFILE=~/.cache/zsh/.histfile setopt inc_append_history +eval "$(direnv hook zsh)" + color="blue"; if [[ $USER == "root" ]]; then color="red"; @@ -20,6 +22,7 @@ brackets=""; if [ ${IN_NIX_SHELL+1} ]; then brackets="[]" fi + PS1=" %B${brackets:0:1} %F{${color}}%B%m%F{white}%B ${brackets:1:2}: %2~%F{white} >%b " source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/bindings"