1
0
Fork 0

idk, something has changed

This commit is contained in:
Arthur Khachaturov 2024-07-20 01:39:49 +03:00
parent ffe452fe24
commit ed190866f5
No known key found for this signature in database
GPG key ID: CAC2B7EB6DF45D55
28 changed files with 94 additions and 2179 deletions

File diff suppressed because it is too large Load diff

13
.config/zsh/.zlogin Normal file
View file

@ -0,0 +1,13 @@
PID="$$"
(
if [ "$(inxi -aG | grep -c 'Monitor')" -eq 1 ]; then
setfont Uni3-Terminus32x16.psf.gz
stty -F /proc/$PID/fd/0 rows 65 cols 195
else
setfont Uni3-Terminus16.psf.gz
stty -F /proc/$PID/fd/0 rows 90 cols 320
fi >/dev/null 2>&1 &
)
unset PID
# vim: ft=sh

View file

@ -84,7 +84,7 @@ bl () { brightnessctl set $1% &> /dev/null }
clines() { find $@ \( -name '*.cpp' -o -name '*.[ch]' \) -a ! -path '*cmake-build*' | xargs wc -l }
nosw() { alacritty --class 'noswallow' -e "$@" }; compdef _command nosw
t() { [ -z "$1" ] && taskell ~/.taskell.md || taskell "$1" }
vims() { vim "$(whereis $1 | cut -d ' ' -f 2)" }; compdef _command vims
vims() { vim "$(whereis $1 | rev | cut -d ' ' -f 1 | rev)" }; compdef _command vims
bc() { unbuffer "$@" | bat }; compdef _command bc
@ -99,6 +99,7 @@ alias gck="git checkout"
alias gb="git branch"
alias gd="git diff"
alias gr="git restore"
alias gcl="git clone"
# docker aliases
alias dc="docker compose"