Functions and aliases #555
Unanswered
julianpinedayyz
asked this question in
Help needed
Replies: 2 comments
-
Nice idea 💡 |
Beta Was this translation helpful? Give feedback.
0 replies
-
That would be amazing! I mean, I don't know if it's redundant but for sure it would be great to create complex functions that can be run globally. I was thinking about implementing this with Fig's plugins but you still need to have the Bash knowledge to make it happen. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. Really new to all this and would love some feedback.
Is it possible to register functions and aliases to be used globally?
I want to add a file to my .zshrc so It can be sourced with functions for now. Something like:
tellDate(){ echo "Today's date is "${date}" }
(this is obviously super trivial in bash. The idea is to build more complex functions.)And then after sourcing my .zshrc, I would be able to call the
tellDate
function like any other function made inside a bash file.Any help would be greatly appreciated!
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions