This commit is contained in:
Christoph J. Scherr 2024-04-22 17:02:18 +02:00
parent 8b83502ad1
commit ea70ac6c9a
3 changed files with 9 additions and 1 deletions

@ -1 +1 @@
Subproject commit 0c5be1344f597fb495a42bfbefc1105643171d69 Subproject commit e102335f6e1f006d9cb7a6eb8d3bf27452d57174

View File

@ -3,3 +3,8 @@ export PATH="/usr/bin:/usr/sbin:$HOME/.local/bin:$HOME/.cargo/bin:/usr/local/bin
export EDITOR=nvim export EDITOR=nvim
export editor=nvim export editor=nvim
export XDG_CONFIG_HOME=~/.config export XDG_CONFIG_HOME=~/.config
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export SDL_IM_MODULE=fcitx
export GLFW_IM_MODULE=ibus

3
.zshrc
View File

@ -20,6 +20,8 @@ alias ls="lsd --date \"$DATEFMT\""
alias grep="grep --color" alias grep="grep --color"
alias egrep="grep -E" alias egrep="grep -E"
alias lgrep="find | grep" alias lgrep="find | grep"
alias lagrep="find -exec realpath {} \; | grep"
alias llgrep="find -type d -exec lsd -lah {} \;| grep"
alias psgrep="ps axu | grep" alias psgrep="ps axu | grep"
alias plasmarestart="killall plasmashell; kstart5 plasmashell" alias plasmarestart="killall plasmashell; kstart5 plasmashell"
alias isotime='date +"%Y-%m-%dT%H:%M:%S%z"' alias isotime='date +"%Y-%m-%dT%H:%M:%S%z"'
@ -34,6 +36,7 @@ alias accon="HOST=$(hostname) conda activate"
alias gotemp="cd $(mktemp -d)" alias gotemp="cd $(mktemp -d)"
alias open=xdg-open alias open=xdg-open
alias ipb="ip -brief" alias ipb="ip -brief"
alias ps all="ps -eadf"
### Functions ### Functions
function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" } function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" }