In my .zshrc I tried to make a few aliases .I looked into a lot of places, but I couldn't find out a way that worked. I used this code below:
# Set personal aliases, overriding those provided by oh-my-zsh libs, # plugins, and themes. Aliases can be placed here, though oh-my-zsh # users are encouraged to define aliases within the ZSH_CUSTOM folder. # For a full list of active aliases, run alias. # # Example aliases alias zshconfig="mate ~/.zshrc" alias ohmyzsh="mate ~/.oh-my-zsh" alias n= "nano" alias m= "mkdir" alias w= "cd ~/Documents/UoMWorkspace/Semester2" alias j= "cd ~/Documents/UoMWorkspace/Semester2/COMP17412"
Then I wrote a command
source ~/.zshrc. Still it didn't resolve the issue. I get error messages like
zsh: command not found: j
Could anyone help me with any suggestions and let me know what am I doing wrong?