feat: Cleaning up the tmux config, cleanup of zsh aliases and moving

some functions to aliases
This commit is contained in:
2026-05-23 20:26:12 -05:00
parent 905fd8fc43
commit deea09dac5
3 changed files with 23 additions and 31 deletions

View File

@@ -4,8 +4,14 @@ alias mv="mv -i" # Prompt before moving files
alias df="df -h" # Always use the human readable formatting
alias du="du -h -d 1" # Always use human readable format and only for the current dir by default
alias k="killall" # Quick killall
alias p="ps aux | grep $1" # Quick
alias p="ps ux | grep $1" # Quick process search
alias n="$EDITOR" # Just open the usual editor
alias todo="nvim ~/.zettelkasten/TODO.md"
# Switch directories
alias repos="cd ~/repos/"
alias dot="cd ~/repos/dotfiles"
# Note taking
alias todo="nvim ~/.zettelkasten/TODO.md"
alias note="nvim -c ':Telekasten new_note'"
alias today="nvim -c ':Telekasten goto_today'"

View File

@@ -12,18 +12,10 @@ function timezsh() {
# Custom rsync move function that also removes empty directories that have their contents removed
# NOTE: This will delete *any* empty directories in the CWD
function rmv() {
rsync -avzhP --remove-source-files --ignore-existing "${@:1:$#-1}" "${@:$#}" && \
find ./* -depth -type d -empty -exec rmdir "{}" \;
}
function note() {
nvim -c ":Telekasten new_note"
}
function today() {
nvim -c ":Telekasten goto_today"
}
# function rmv() {
# rsync -avzhP --remove-source-files --ignore-existing "${@:1:$#-1}" "${@:$#}" && \
# find ./* -depth -type d -empty -exec rmdir "{}" \;
# }
function path() {
echo -e ${PATH//:/\\n}