All Questions
6
questions
1
vote
1
answer
172
views
How to send output to next input line?
This my snippet alias hst="history 1 -1 | cut -c 8- | uniq | fzf ".
when I run hst
The output is
$ ~ hst
(the output from hst)
$
This is what I want
$ ~ hst
$ (the output from hst)
Example
...
0
votes
2
answers
151
views
How to get 'man gfind' when I enter 'man find'?
On my new-ish mac os/Darwin system, my find tool is an 11-year-old BSD version. I have used MacPorts to install a more current version: GNU's find, which MacPorts has named gfind, and placed in /opt/...
0
votes
1
answer
511
views
zsh alias not being unaliased in zshrc
[leading dots elided because I don't want to type them]
An alias--gl--is set to git pull by a plugin in my zshrc. I want to set it to a git log command.
I'm on macOS and, as expected, /etc/zshrc is ...
1
vote
1
answer
2k
views
How to use aliases with auto completion in oh-my-zsh?
I'm using zsh on MacOS El Capitan. I'm wondering how auto completion has to be parameterized to resolve aliases as well.
When I used bash, my .bash_profile contained the following:
alias mdb "mongo -...
7
votes
3
answers
1k
views
What is causing `diff` to run `git diff`?
I'd like to use diff as described here and in the documentation I see when I type man diff. However, when I type diff, what I get is this:
~ ❯❯❯ diff
usage: git diff --no-index <path> <path&...
4
votes
3
answers
8k
views
zsh alias being overridden somehow
I'm on a system running OS X 10.8.5.
I recently tried to alias ls to ls -G -la command. I opened up ~/.zshrc, put in the alias, relaunched the terminal, but the change didn't take effect. Upon ...