Removed unused aliases, added tph,tpc

tph - send to termpad via httpie
tpc - send to termpad via cURL
This commit is contained in:
2025-04-23 12:23:52 -04:00
parent c9207c367d
commit 2889f7a029

View File

@@ -15,11 +15,7 @@ alias fgrep='fgrep --color=auto' # show differences in colour
# Must have lsd installed (https://github.com/lsd-rs/lsd) # Must have lsd installed (https://github.com/lsd-rs/lsd)
alias ls='lsd ' alias ls='lsd '
alias lla='ls -al' # ll with . and .. alias lla='ls -al' # ll with . and ..
#alias l='ls -CF' # list with Columns
#alias la='ls -CFA' # l with . and ..
alias ll='ls -l' # long list alias ll='ls -l' # long list
#alias lls='ls -lh --sort=size --reverse'
#alias llt='ls -l -t -r'
# Extras # Extras
alias ping='ping -c 5' # Stop pinging after 5 pings alias ping='ping -c 5' # Stop pinging after 5 pings
@@ -35,17 +31,18 @@ alias mempigs='ps aux | awk '\''{print $6/1024 " MB\t\t" $11 " " $12}'\'' | sor
# dir -v (part of pushd/popd) # dir -v (part of pushd/popd)
alias dir='dir -v' alias dir='dir -v'
# find Taks in $NOTES_DIR # send things to termpad
alias TODO='grep TODO $NOTES_DIR/**/*.md' # with httpie
alias tph=' http termpad.planethawleywood.com'
# with cURL
alias tpc=' curl --data-binary @- termpad.planethawleywood.com'
# Edit files with vim/fzf
alias vimf='vim "`fzf`"' # Do lots of things with FZF
# CD with the help of fzf # CD with the help of fzf
alias cdf='cd ~ && cd "$(find . -type d -print0 | fzf --read0 --print0)"' alias cdf='cd ~ && cd "$(find . -type d -print0 | fzf --read0 --print0)"'
# Do lots of things with FZF
# VIM # VIM
alias vimf='vim "`fzf`"' alias vimf='vim "`fzf`"'