1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-09-08 00:42:39 +00:00

[.zshrc] Update atuin aliases

This commit is contained in:
Daniel Carrillo 2024-06-25 18:00:52 +02:00
parent 960573ae4e
commit d959317c51
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16

9
.zshrc
View File

@ -51,6 +51,8 @@ alias fdh='fd --hidden --no-ignore --exclude .git'
alias vim=nvim
alias neovim=nvim
alias disable-hl='ZSH_HIGHLIGHT_MAXLENGTH=0'
alias atuin_delete='atuin search --delete --search-mode=full-text $1'
alias atuin_search='atuin search --search-mode=full-text $1'
##### Functions to be used from command line #####
@ -89,12 +91,7 @@ siteinfo () {
httpx-toolkit -silent -json -follow-redirects -ip -tech-detect -target "$url" | jq -rc '.tech'
}
remove_from_hist() {
# LC_ALL=C sed -i "/$1/d" $HISTFILE
atuin search --delete --search-mode=full-text $1
}
##### tilix #####
##### tilix ####
if [ $TILIX_ID ] || [ $VTE_VERSION ] ; then
source /etc/profile.d/vte.sh