Add zshrc and paru config
This commit is contained in:
parent
e61037c2ec
commit
69f46861dd
39
dot_config/paru/paru.conf
Normal file
39
dot_config/paru/paru.conf
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
#
|
||||||
|
# $PARU_CONF
|
||||||
|
# /etc/paru.conf
|
||||||
|
# ~/.config/paru/paru.conf
|
||||||
|
#
|
||||||
|
# See the paru.conf(5) manpage for options
|
||||||
|
|
||||||
|
#
|
||||||
|
# GENERAL OPTIONS
|
||||||
|
#
|
||||||
|
[options]
|
||||||
|
PgpFetch
|
||||||
|
Devel
|
||||||
|
Provides
|
||||||
|
DevelSuffixes = -git -cvs -svn -bzr -darcs -always -hg -fossil
|
||||||
|
#AurOnly
|
||||||
|
#BottomUp
|
||||||
|
#RemoveMake
|
||||||
|
SudoLoop
|
||||||
|
#UseAsk
|
||||||
|
#SaveChanges
|
||||||
|
#CombinedUpgrade
|
||||||
|
#CleanAfter
|
||||||
|
#UpgradeMenu
|
||||||
|
#NewsOnUpgrade
|
||||||
|
|
||||||
|
LocalRepo
|
||||||
|
Chroot
|
||||||
|
Sign
|
||||||
|
#SignDb
|
||||||
|
KeepRepoCache
|
||||||
|
|
||||||
|
#
|
||||||
|
# Binary OPTIONS
|
||||||
|
#
|
||||||
|
#[bin]
|
||||||
|
#FileManager = vifm
|
||||||
|
#MFlags = --skippgpcheck
|
||||||
|
#Sudo = doas
|
36
dot_zshrc
36
dot_zshrc
@ -1,13 +1,25 @@
|
|||||||
# Lines configured by zsh-newuser-install
|
# If not running interactively, don't do anything
|
||||||
HISTFILE=~/.zsh_history
|
[[ $- != *i* ]] && return
|
||||||
HISTSIZE=1000
|
|
||||||
SAVEHIST=1000
|
|
||||||
setopt nomatch
|
|
||||||
unsetopt autocd beep extendedglob notify
|
|
||||||
# End of lines configured by zsh-newuser-install
|
|
||||||
# The following lines were added by compinstall
|
|
||||||
zstyle :compinstall filename '/home/isaac/.zshrc'
|
|
||||||
|
|
||||||
autoload -Uz compinit
|
# Required init for cli programs
|
||||||
compinit
|
# Do not install completions unless no working, check /usr/share/bash-completion
|
||||||
# End of lines added by compinstall
|
eval "$(zoxide init zsh)"
|
||||||
|
|
||||||
|
# Set aliases
|
||||||
|
alias ls="eza --icons --long"
|
||||||
|
alias grep="ugrep"
|
||||||
|
alias cd="z"
|
||||||
|
alias cat="bat -p"
|
||||||
|
alias update-mirrors="rate-mirrors arch | sudo tee /etc/pacman.d/mirrorlist; rate-mirrors chaotic-aur | sudo tee /etc/pacman.d/chaotic-mirrorlist"
|
||||||
|
alias update="paru; paru -c"
|
||||||
|
alias l="ls --ignore-glob '$([ -f .hidden ] && cat .hidden | tr '\n' '|')'"
|
||||||
|
|
||||||
|
|
||||||
|
# Helpful tool: https://zsh-prompt-generator.site/
|
||||||
|
# On github: https://github.com/k-yokoishi/zsh-prompt-generator
|
||||||
|
PROMPT="[%n@%m %~]$ "
|
||||||
|
RPROMPT="%?:%h"
|
||||||
|
|
||||||
|
# CLI programs
|
||||||
|
EDITOR=micro
|
||||||
|
DIFFPROG=difft
|
||||||
|
Loading…
x
Reference in New Issue
Block a user