nix is now the master #1
20
.zshrc
20
.zshrc
@ -9,11 +9,7 @@
|
|||||||
# #
|
# #
|
||||||
############################
|
############################
|
||||||
|
|
||||||
# Required packages:
|
export PATH=$HOME/.local/bin:$XDG_DATA_HOME/npm_global/bin:$XDG_DATA_HOME/cargo/bin:$PATH
|
||||||
# - 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
|
|
||||||
|
|
||||||
[[ $- != *i* ]] && return
|
[[ $- != *i* ]] && return
|
||||||
[ -n $SSH_CONNECTION ] && source ~/.profile
|
[ -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
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
fi
|
fi
|
||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
[[ ! -f ~/.cache/p10k.zsh ]] || source ~/.cache/p10k.zsh
|
||||||
|
|
||||||
# wal subshell for terminal colors
|
# wal subshell for terminal colors
|
||||||
if test -f $XDG_CACHE_HOME/wal/sequences; then
|
if test -f $XDG_CACHE_HOME/wal/sequences; then
|
||||||
(cat $XDG_CACHE_HOME/wal/sequences &)
|
(cat $XDG_CACHE_HOME/wal/sequences &)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
plugins=(
|
|
||||||
git
|
|
||||||
last-working-dir
|
|
||||||
extract
|
|
||||||
z
|
|
||||||
)
|
|
||||||
|
|
||||||
# Variables
|
# Variables
|
||||||
export MANPAGER="bat -l man -p"
|
export MANPAGER="bat -l man -p"
|
||||||
|
|
||||||
@ -54,11 +43,11 @@ alias vim="nvim"
|
|||||||
alias please='sudo '
|
alias please='sudo '
|
||||||
alias ls='exa --icons'
|
alias ls='exa --icons'
|
||||||
alias svim='sudoedit'
|
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 open="xdg-open"
|
||||||
alias mixer="pulsemixer"
|
alias mixer="pulsemixer"
|
||||||
alias yt-dl-audio="yt-dlp --extract-audio --audio-format mp3 -o '%(title)s.%(ext)s'"
|
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 modx="chmod +x"
|
||||||
alias mv="mv -iv"
|
alias mv="mv -iv"
|
||||||
alias cp="cp -riv"
|
alias cp="cp -riv"
|
||||||
@ -71,4 +60,5 @@ alias ssh="TERM=xterm-256color ssh"
|
|||||||
alias df="duf"
|
alias df="duf"
|
||||||
alias du="dust"
|
alias du="dust"
|
||||||
alias nom="npm"
|
alias nom="npm"
|
||||||
|
alias code="codium"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user