update.
This commit is contained in:
+7
-2
@@ -21,7 +21,6 @@ alias update='sudo pacman -Syu'
|
||||
alias gitpkg='pacman -Q | grep -i "\-git" | wc -l'
|
||||
alias apt='man pacman'
|
||||
alias apt-get='man pacman'
|
||||
alias please='sudo'
|
||||
alias jctl="journalctl -p 3 -xb"
|
||||
alias cmdhist='CMD=$(history -i | fzf | sed "s/.*:..//"); sleep 0.1 && wtype $CMD'
|
||||
alias tipme='shuf -n 1 ~/.config/sdgos/tips/tips.list'
|
||||
@@ -41,7 +40,13 @@ IMAGEPROGRAM='satty --filename'
|
||||
TIPS=$(cat ~/.config/sdgos/tips/tips.list)
|
||||
SHELL=/bin/zsh
|
||||
|
||||
|
||||
function plz() {
|
||||
if [ -z "$1" ]; then
|
||||
sudo $(fc -ln 1 | tail -1)
|
||||
else
|
||||
sudo "$@"
|
||||
fi
|
||||
}
|
||||
## filetype aliases, default-opens them with the set program
|
||||
alias -s json=$EDITOR
|
||||
alias -s yaml=$EDITOR
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ source /usr/share/cachyos-zsh-config/cachyos-config.zsh
|
||||
# Added by LM Studio CLI (lms)
|
||||
export PATH="$PATH:/home/den/.lmstudio/bin"
|
||||
# End of LM Studio CLI section
|
||||
|
||||
export EDITOR=micro
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user