zsh Questions

10

Solved

I have Solarized installed via pathogen and it's been working fine in both terminal and MacVim on my Mac. Today, I tried setting up an Ubuntu box on Linode. I just cloned my dotfiles and symlinked ...
Algorithm asked 10/1, 2012 at 14:23

4

Solved

I wrote a little function, that "translates" a Windows path to a OSX path and opens it in the Finder. The function works perfectly with bash, but not with zsh (I use oh-my-zsh). The problem is tha...
Raymund asked 7/9, 2017 at 14:18

2

Solved

I have a command that outputs a bunch of stuff e.g. running mycmd will give: foobar derp derp like so etc Some of these lines will have spaces in them. How do I read these into an array in zsh ...
zsh
Expertize asked 25/8, 2017 at 9:7

4

Solved

I'd like to be able to switch temporarily from emacs mode to vi mode, since vi mode is sometimes better, but I'm usually half-way through typing something before I realize I want to use vi mode. I...
Moulin asked 14/4, 2010 at 18:49

8

Solved

I get the following error messages when I open my terminal, Hyper: [oh-my-zsh] Insecure completion-dependent directories detected: drwxrwxr-x 7 dwaynethe2nd admin 224 Apr 25 15:00 /usr/local/shar...
Protectionism asked 25/4, 2020 at 22:3

2

Solved

I have written a command-line tool that uses sub-commands much like Mercurial, Git, Subversion &c., in that its general usage is: >myapp [OPTS] SUBCOMMAND [SUBCOMMAND-OPTS] [ARGS] E.g. &...
Calve asked 25/1, 2012 at 9:57

7

Solved

I have a function which outputs many rows of information which I want to format in columns. The problem is that the width of any particular "cell" (if I may use that term) of data is variable, so p...
Applicable asked 24/6, 2011 at 3:7

3

I'm running zsh with oh-my-zsh on OS X. Every time I use zsh's awesome tab-completion, formatting on the current command line prompt gets really screwed up. For example: I'll be typing cd fo and t...
Uhland asked 29/7, 2013 at 18:43

3

Solved

I feel like an idiot because I've installed this before on macOS and OSX but for some reason I can't see what I'm doing wrong. Please help!!! I've created a directory, ~/go, which will be my worksp...
Ullman asked 5/3, 2017 at 21:37

2

Solved

I found the following command in Bash which Zsh does not have in the same buttons at the thread. Ctrl-x-e It opens the current input in terminal to an editor. How can you have the same command ...
Enphytotic asked 20/5, 2009 at 22:45

3

Solved

I have this printf statement at the end of my program: printf("%d", total_candies); total_candies is an int, and while I expect everything to work correctly, along with the actual number, I'm ge...
Schoolteacher asked 1/12, 2014 at 22:30

5

Solved

I have tried the following steps to install and setup mongodb in my mac from here https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/ but I got the following error when running the fi...
Casablanca asked 25/2, 2021 at 20:6

5

I've been using oh-my-zsh for a while and it's working great. I'd like to use the command-line fuzzy finder plugin so I enabled it in .zshrc: plugins=(fzf) However if "fzf" is not installed I ge...
Dartboard asked 24/9, 2018 at 13:53

3

Solved

I have downloaded .net5 from official website, but dotnet command isn't recognised by my terminal. Here's what I have found after some research- my dotnet folder is present in /usr/local/share/dot...
Gripsack asked 12/11, 2021 at 13:52

2

Solved

What controls the environment to know to split by space in zsh? I'm sure it's something simple but in all my searching have yet to figure it out what controls it. Trying to loop over items in a spa...
zsh
Efferent asked 25/8, 2021 at 21:46

3

First off: I'm using tmux 2.5 installed via homebrew on OS X 10.12, in iTerm 2 (though the problem appears in Terminal.app as well). My tmux.conf is on Github, along with my zshrc. The problem: Se...
Edwards asked 29/8, 2017 at 5:17

6

I'm a complete newbie, so I think I'm just missing a step, but have no idea. I'm following tutorials for Rails. Lots of steps say, "and then editing the ~/.zshrc file." but I don't have any ~/.zsh...
Tolerable asked 22/3, 2016 at 14:50

1

Solved

I'm trying to format a string as JSON using jq and I noticed differing behaviors on bash vs zsh; specifically when zsh runs jq directly, the outcome is different than when it runs it in subshell: \...
Foreleg asked 29/9, 2022 at 16:48

6

Solved

How do I tell ZSH to reload itself, as if it's a freshly invoked shell, but without losing the history? The context for this is that I've spent a long time building my ZSH setup, and I'd hate to l...
Jerrilyn asked 16/4, 2016 at 19:47

1

so I tried to do a clean uninstall of anaconda from my MacBook Air m1. I have followed this steps on the official site(Option B): https://docs.anaconda.com/anaconda/install/uninstall/ The first com...
Ecumenicity asked 25/6, 2022 at 18:2

9

I have installed zsh and oh my zsh on Ubuntu 18.04. I would like to use autocompletion for kubectl. Therefore I have added source <(kubectl completion zsh) to my ~/.zshrc file. On execution of ...
Apollo asked 8/10, 2019 at 9:32

3

Solved

I recently updated my MacOS to Catalina, and now I have the infamous "zsh command not found: conda" when I enter "conda" in my terminal. I've read a number of solutions, and the easiest for me to t...
Refugee asked 21/1, 2020 at 2:31

2

Solved

I've been following the RabbitMQ installation guide via homebrew. It says to add a line to my .bash_profile, but since I'm using ohmyzsh for my terminal I'm guessing I have to edit my .zshrc file....
Macswan asked 22/7, 2016 at 16:5

3

Solved

The following short script prints a random ten-digit binary number: #!/usr/bin/zsh point='' for i in `seq 1 10` do echo $RANDOM >/dev/null point=$point`if [ $RANDOM -gt 16383 ]; then echo 0; ...
Dye asked 15/9, 2015 at 3:14

3

Solved

I need some help to understand why my path looks like the way it looks. Issuing echo $PATH in zsh returns : /Library/Frameworks/Python.framework/Versions/3.2/bin:/usr/bin/:/bin:/usr/sbin:/sbin: /...
Ricard asked 24/7, 2012 at 16:25

© 2022 - 2024 — McMap. All rights reserved.