Haroenv / config

Some config files I use often (also some dotfiles)
5 stars 0 forks source link

clean up aliases #1

Open Haroenv opened 8 years ago

Haroenv commented 8 years ago

convert to functions:

I guess you know how to do basic translations like export to set -x in fish, and using regular functions instead of alias (although you could use alias in fish, too, but functions will perform faster due to fish lazy loading).

Functions should go into ~/.config/functions so that fish can lazy load them, which is faster than forcing the shell to run all of that at startup.

@bucaran

ghost commented 8 years ago

Good job and great start :+1:

I am a shell startup freak, so I would consider moving all those aliases to functions, just to save more milliseconds, but that's up to you. It will clutter up your ~/.config/fish/functions, so I see why one would hesitate too.

Notes

Haroenv commented 8 years ago

ah that's a good point. I'll remove the history file.