GNU/Linux FAQ
Advertise : @LinAdvertise
By @LinAcademy
Post #248
401
#روزی_یک_نکته با دلاتو
دستهبندی: #کاربردی #آموزشی #eshell #emacs #alias
نحوه اضافه کردن alias به eshell ایمکس:
کافیه داخل eshell بنویسید:
خودش alias رو به فایل alias داخل مسیر زیر اضافه میکنه:
Source
🔅@LinFAQ
🔅@LinAcademy
www.gnu.org Aliases (Eshell: The Emacs Shell) Next: Remote Access, Previous: Variables, Up: Commands [Contents][Index] دستهبندی: #کاربردی #آموزشی #eshell #emacs #alias
نحوه اضافه کردن alias به eshell ایمکس:
کافیه داخل eshell بنویسید:
eshell (emacs shell)
alias command1 'command2'که هر دفعه command1 رو بزنید command2 اجرا میشه.
خودش alias رو به فایل alias داخل مسیر زیر اضافه میکنه:
~/.emacs.d/eshell/البته دقت کنید که باید آرگومان ها رو دقیق معلوم کنید، مثال برای باز کردن فایل:
alias vim 'find-file $1'وگرنه آرگومان رو قبول نمیکنه
(تو اینجا اسم فایل هدف رو).
Source
🔅@LinFAQ
🔅@LinAcademy



