How to define and load your own shell function in zsh

view full story

http://unix.stackexchange.com – I am having a hard time defining and running my own shell functions in zsh. I tried an easy example, but I failed to get it work. Let me explain: I have a folder ~/.my_zsh_functions In this folder I have a file called functions_1 with rwx user permissions. In this file I have the following shell function defined: my_function () { echo "Hello world"; } I defined FPATH to include the path to the folder .my_zsh_functions: export FPATH=~/.my_zsh_functions:$FPATH I can confirm that the folder .my_zsh_functions is in the functions path with echo $FPATH or echo $fpath However, if I try: (HowTos)