suicide
This commit is contained in:
parent
d226c3b384
commit
bb20a8b913
2 changed files with 24 additions and 23 deletions
35
.zprofile
35
.zprofile
|
@ -1,8 +1,19 @@
|
||||||
|
grep --color=auto < /dev/null &>/dev/null && alias grep='grep --color=auto'
|
||||||
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
export PATH="/usr/pkg/sbin:/usr/pkg/bin:$PATH"
|
||||||
|
export PATH="$PATH:/home/coast/.spicetify"
|
||||||
|
export MANPATH="/usr/pkg/man:$MANPATH"
|
||||||
|
export XDG_DATA_DIRS="/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share:/usr/local/share:/usr/share"
|
||||||
|
export EDITOR="nvim"
|
||||||
|
export EIX_LIMIT=0
|
||||||
|
|
||||||
#aliasrc
|
#aliasrc
|
||||||
alias \
|
alias \
|
||||||
nf="clear && neofetch" \
|
nf="neofetch" \
|
||||||
|
mutt="neomutt" \
|
||||||
|
mt="neomutt" \
|
||||||
emoji="cat ~/.local/share/emoji | grep \$1" \
|
emoji="cat ~/.local/share/emoji | grep \$1" \
|
||||||
cst="emacs ~/.config/st/config.h" \
|
cst="vi ~/.config/st/config.h" \
|
||||||
ls="ls --color=auto" \
|
ls="ls --color=auto" \
|
||||||
ll="ls -hl" \
|
ll="ls -hl" \
|
||||||
l="ls -lh" \
|
l="ls -lh" \
|
||||||
|
@ -32,8 +43,9 @@ alias \
|
||||||
v="vi" \
|
v="vi" \
|
||||||
stx="startx" \
|
stx="startx" \
|
||||||
e="doas emerge --ask --verbose $1" \
|
e="doas emerge --ask --verbose $1" \
|
||||||
vim=nvim \
|
|
||||||
es="emerge -s $1" \
|
es="emerge -s $1" \
|
||||||
|
fe="flatpak search $1" \
|
||||||
|
fei="flatpak install $1" \
|
||||||
|
|
||||||
video() {
|
video() {
|
||||||
mpv "$1" --ytdl-format="bestvideo[height>=720]+bestaudio/best[height>=720]"
|
mpv "$1" --ytdl-format="bestvideo[height>=720]+bestaudio/best[height>=720]"
|
||||||
|
@ -44,19 +56,14 @@ videolow() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
grep --color=auto < /dev/null &>/dev/null && alias grep='grep --color=auto'
|
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
|
||||||
export PATH="/usr/pkg/sbin:/usr/pkg/bin:$PATH"
|
|
||||||
export PATH="$PATH:/home/coast/.spicetify"
|
|
||||||
export MANPATH="/usr/pkg/man:$MANPATH"
|
|
||||||
export XDG_DATA_DIRS="/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share:/usr/local/share:/usr/share"
|
|
||||||
export EDITOR="nvim"
|
|
||||||
export EIX_LIMIT=0
|
|
||||||
|
|
||||||
#bash-like emacs binds for zsh
|
|
||||||
bindkey -e
|
bindkey -e
|
||||||
#ssh agent
|
|
||||||
eval $(ssh-agent -s) >/dev/null 2>&1
|
eval $(ssh-agent -s) >/dev/null 2>&1
|
||||||
|
|
||||||
|
batstat=$(cat /sys/class/power_supply/BAT1/status 2>/dev/null)
|
||||||
|
charge=$(cat /sys/class/power_supply/BAT1/capacity 2>/dev/null)
|
||||||
|
if [[ "$batstat" == "Discharging" && "$charge" -lt 50 ]]; then
|
||||||
|
echo "Battery: $(sb-battery)"
|
||||||
|
fi
|
||||||
|
|
||||||
alias arch="echo 'em64t'"
|
|
||||||
|
|
12
.zshrc
12
.zshrc
|
@ -1,10 +1,5 @@
|
||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
. /etc/profile
|
. /etc/profile
|
||||||
batstat=$(cat /sys/class/power_supply/BAT1/status 2>/dev/null)
|
|
||||||
charge=$(cat /sys/class/power_supply/BAT1/capacity 2>/dev/null)
|
|
||||||
if [[ "$batstat" == "Discharging" && "$charge" -lt 50 ]]; then
|
|
||||||
echo "Battery: $(sb-battery)"
|
|
||||||
fi
|
|
||||||
HISTFILE=$HOME/.cache/zsh/history
|
HISTFILE=$HOME/.cache/zsh/history
|
||||||
SAVEHIST=100000000
|
SAVEHIST=100000000
|
||||||
HISTSIZE=$SAVEHIST
|
HISTSIZE=$SAVEHIST
|
||||||
|
@ -19,9 +14,8 @@ source /usr/share/zsh/site-functions/zsh-autosuggestions.zsh && fpath=(/usr/shar
|
||||||
autoload -U colors && colors && setopt prompt_subst
|
autoload -U colors && colors && setopt prompt_subst
|
||||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=5"
|
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=5"
|
||||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=12"
|
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=12"
|
||||||
export LIBCLANG_PATH=/usr/lib/llvm/20/lib64
|
LIBCLANG_PATH=/usr/lib/llvm/20/lib64
|
||||||
source ~/.zprofile
|
source ~/.zprofile
|
||||||
PS1="%B%F{#4b5f61}[%F{#7a8a8d}%n%F{#4b5f61}@%M %F{#4f6469}%~%F{#4b5f61}]%f%F{#b7c0c5}%B%%%b%f "
|
#PS1="%B%F{#f0f0f0}[%F{#ff5f5f}%n%F{#f0f0f0}@%M %F{#5fafff}%~%F{#f0f0f0}]%f%F{#fe8019}%B%%%b%f "
|
||||||
export PATH=$PATH:/home/coast/.spicetify
|
PATH=$PATH:/home/coast/.spicetify
|
||||||
export DISPLAY=:1
|
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
|
|
Loading…
Add table
Reference in a new issue