zsh-users
 help / color / mirror / code / Atom feed
From: "shirish शिरीष" <shirishag75@gmail.com>
To: zsh-users <zsh-users@zsh.org>
Subject: Re: Permission denied - putting an aliases.zsh file and it being called from .zshrc
Date: Sat, 24 Dec 2016 03:17:18 +0530	[thread overview]
Message-ID: <CADdDZR=cENtYZXL7GKkNAmqNzsLbeBHfPGt4JFP0cxYwkgKozw@mail.gmail.com> (raw)
In-Reply-To: <CADdDZRnUUd=tAm5RHY3F58cubGZ0R4cXBd9CFD6hKgWt+-x4Tg@mail.gmail.com>

at bottom :-

On 24/12/2016, shirish शिरीष <shirishag75@gmail.com> 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


  reply	other threads:[~2016-12-23 21:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-23 21:42 shirish शिरीष
2016-12-23 21:47 ` shirish शिरीष [this message]
2016-12-23 22:56   ` Martijn Dekker
2016-12-24  1:24     ` shirish शिरीष

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADdDZR=cENtYZXL7GKkNAmqNzsLbeBHfPGt4JFP0cxYwkgKozw@mail.gmail.com' \
    --to=shirishag75@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).