From 1c8beadaa6c77371c11c6ced563768bb3dabd950 Mon Sep 17 00:00:00 2001 From: Niklas Kapelle Date: Sun, 31 Mar 2024 23:10:27 +0200 Subject: [PATCH] too lazy. something zsh. --- .zshrc | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/.zshrc b/.zshrc index 8dd738e..50fe957 100644 --- a/.zshrc +++ b/.zshrc @@ -9,11 +9,7 @@ # # ############################ -# Required packages: -# - nerd-font-hack (AUR) -# - trash-cli (with gvfs) - -export PATH=$HOME/.local/bin:$HOME/.dotnet/tools:$XDG_DATA_HOME/npm_global/bin:$XDG_DATA_HOME/cargo/bin:$PATH +export PATH=$HOME/.local/bin:$XDG_DATA_HOME/npm_global/bin:$XDG_DATA_HOME/cargo/bin:$PATH [[ $- != *i* ]] && return [ -n $SSH_CONNECTION ] && source ~/.profile @@ -25,20 +21,13 @@ source /etc/zshrc if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" fi -[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh +[[ ! -f ~/.cache/p10k.zsh ]] || source ~/.cache/p10k.zsh # wal subshell for terminal colors if test -f $XDG_CACHE_HOME/wal/sequences; then (cat $XDG_CACHE_HOME/wal/sequences &) fi -plugins=( - git - last-working-dir - extract - z -) - # Variables export MANPAGER="bat -l man -p" @@ -54,11 +43,11 @@ alias vim="nvim" alias please='sudo ' alias ls='exa --icons' alias svim='sudoedit' -alias dotfiles="git --git-dir=$XDG_DATA_HOME/dotfiles-remastered --work-tree=$HOME" # dotfile config --local status.showUntrackedFiles no +alias dotfiles="git --git-dir=$XDG_DATA_HOME/dotfiles-remastered --work-tree=$HOME" # dotfiles config --local status.showUntrackedFiles no alias open="xdg-open" alias mixer="pulsemixer" alias yt-dl-audio="yt-dlp --extract-audio --audio-format mp3 -o '%(title)s.%(ext)s'" -alias rm="trash" +#alias rm="trash" # broken autocompletion right now alias modx="chmod +x" alias mv="mv -iv" alias cp="cp -riv" @@ -71,4 +60,5 @@ alias ssh="TERM=xterm-256color ssh" alias df="duf" alias du="dust" alias nom="npm" +alias code="codium"