help / color / mirror / code / Atom feed
From: "Hoji, Aki" <ahoji@iu.edu>
To: "zsh-users@zsh.org" <zsh-users@zsh.org>
Subject: Alias help
Date: Mon, 26 Apr 2021 22:55:05 +0000	[thread overview]
Message-ID: <82B6395B-6043-42A1-A3FD-8B4F42C3A756@iu.edu> (raw)


I made a following alias and put it in .zshrc;

alias pu ="pip3 list -o | sed "1,2 d" |cut -d ' ' -f1 |  xargs -n1 pip3 install -U”

And when I restart zsh, I got a following error;

/Users/akhst7/.zshrc:109: pip3 list -o | sed 1,2 not found.  

I’d appreciate any help on fixing this.

Thanks in advance. 

             reply	other threads:[~2021-04-26 22:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-26 22:55 Hoji, Aki [this message]
2021-04-26 23:15 ` Eric Cook
2021-04-27  7:10   ` zzapper
2021-04-27 20:41     ` Bart Schaefer
2021-04-29 13:30     ` Daniel Shahaf
2021-04-29 13:55       ` zzapper
2021-04-29 14:13         ` Daniel Shahaf
2021-04-27 13:06   ` Akihiko Hohji

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:

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

  git send-email \
    --in-reply-to=82B6395B-6043-42A1-A3FD-8B4F42C3A756@iu.edu \
    --to=ahoji@iu.edu \
    --cc=zsh-users@zsh.org \


* 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


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).