Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Permission denied - putting an aliases.zsh file and it being called from .zshrc



at bottom :-

On 24/12/2016, shirish शिरीष <shirishag75@xxxxxxxxx> wrote:
> Hi all,
>
> Please CC while answering, newbie here.
>
> IIUC, aliases are nothing but shortcuts.
>
> For e.g. cls=clear and so on and so forth.
>
> Now I have made a file called aliases.zsh  and want those aliases to
> be used/called by .zshrc so I can use it within my zsh installation.
>
> Then I tried -
>
>  $ head .zshrc
> ~/.zsh/aliases.zsh
>
> # Lines configured by zsh-newuser-install
>
> HISTFILE=~/.histfile
> HISTSIZE=10000
> SAVEHIST=10000
> setopt appendhistory autocd extendedglob nomatch notify
> bindkey -e
> # End of lines configured by zsh-newuser-install
>
> Trying to source it though get permission denied messages -
>
> /home/shirish/.zsh $ source .zshrc
> .zshrc:1: permission denied: /home/shirish/.zsh/aliases.zsh
>
> Why am I get permission denied messages ?
>

had forgotten to add executable right, now it all works, sorry folks... again.

-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8



Messages sorted by: Reverse Date, Date, Thread, Author