X-Git-Url: https://git.josue.xyz/?p=dotfiles%2F.git;a=blobdiff_plain;f=.config%2Fbashrc%2Ffunctions;h=4692b7a574cc1d16bf903498430d3a8f085a6a9b;hp=a930aa469f5a3eb2393c26404f65a20c842f0103;hb=bf98ffa9a475a7d39f8a322636402324e230c178;hpb=3ddadb3c98564791f0ac36cb39771d844a63dc91 diff --git a/.config/bashrc/functions b/.config/bashrc/functions index a930aa46..4692b7a5 100644 --- a/.config/bashrc/functions +++ b/.config/bashrc/functions @@ -6,7 +6,7 @@ mdpdf () { pandoc "$1".md -t beamer -o "$1".pdf ;} metadata () { echo "Salida del comando stat" ; stat "$1" ; echo "Salida del comando ls -lisan" ; ls -lisan "$1" ; echo "salida del comando exiftool" ; exiftool "$1" ;} # activates the autocd mode shopt -s autocd -edit () { du -a -L "$1" | awk '{print $2}' | fzf | xargs -r "$VISUAL" ;} +edit () { du -a -L "$1" | awk '{print $2}' | fzf --multi --preview 'vicat {1}' | xargs -r "$VISUAL" ;} function cdls() { DIR="$*"; @@ -20,12 +20,6 @@ function cdls() { } -#vicat is a color and line number cat - -function vicat() { - ccat $@ | nl; - -} #top10 commands