Просмотр исходного кода

remove direct reference to lfub in lfcd and general lf alias

Noah Vogt 1 день назад
Родитель
Сommit
7068709492
2 измененных файлов с 1 добавлено и 3 удалено
  1. 0 2
      dot-config/aliasrc
  2. 1 1
      dot-config/zsh/.zshrc

+ 0 - 2
dot-config/aliasrc

@@ -106,8 +106,6 @@ alias dpi="identify -format '%x\n' -units PixelsPerInch"
 
 
 alias rmexif="exiftool -overwrite_original -all="
 alias rmexif="exiftool -overwrite_original -all="
 
 
-alias lf='lfub'
-
 alias loc='find -type f | grep -v "README\|\.git\|LICENSE" | xargs wc -l | sort -h'
 alias loc='find -type f | grep -v "README\|\.git\|LICENSE" | xargs wc -l | sort -h'
 
 
 # fast dir switching
 # fast dir switching

+ 1 - 1
dot-config/zsh/.zshrc

@@ -49,7 +49,7 @@ preexec() { echo -ne '\e[5 q' ;} # Use beam shape cursor for each new prompt.
 # Use lf to switch directories and bind it to ctrl-p
 # Use lf to switch directories and bind it to ctrl-p
 lfcd () {
 lfcd () {
     tmp="$(mktemp)"
     tmp="$(mktemp)"
-    lfub -last-dir-path="$tmp" "$@"
+    lf -last-dir-path="$tmp" "$@"
     if [ -f "$tmp" ]; then
     if [ -f "$tmp" ]; then
         dir="$(cat "$tmp")"
         dir="$(cat "$tmp")"
         rm -f "$tmp"
         rm -f "$tmp"