Questions tagged [zsh]

zsh is a shell designed for interactive use, although it is also a powerful scripting language. Many of the useful features of bash, ksh, and tcsh were incorporated into zsh; many original features were added.

Filter by
Sorted by
Tagged with
2
votes
1answer
12 views

Snap apps broken with Ubuntu, KDE Wayland, and ZSH

Issues I had Icons when launching via snap run <appname> were the default X icon, not the ones provided by snap Trying to get OAuth working with things like Todoist (Google SSO in browser, ...
0
votes
1answer
23 views

Command `ip a show` in `zsh` not working

I have an Ubuntu 18.04 distro in which I use zsh as default shell instead of bash. Since I like the Kali Linux zsh setup, I copied the .zshrc config file to the Ubuntu machine and my shell seems to ...
0
votes
0answers
18 views

No directory highlighting in ls

I see no directory highlighting in zsh console when doing ls:
0
votes
0answers
17 views

move away all zsh conf files from the home folder

I could move all my zsh related files (.zshrc, .zprofile ...) to $XDG_CONFIG_HOME/zsh setting the variable ZOTDIR="$XDG_CONFIG_HOME/zsh" but there is a file I can't move: .zprofile. This ...
0
votes
1answer
24 views

Odd behavior adding to $PATH - ZSH

ZSH 5.8 Everywhere I've seen, the method I keep seeing for adding a directory to my ZSH $PATH has been adding to my .zshrc export PATH=/what/i/add:$PATH and while this did add what I wanted to my path,...
2
votes
0answers
67 views

chsh: PAM: Permission denied

I've seen the other threads on this, but nothing as specific and explicit as mine. I'm trying change my Shell from standard Bash to ZSH. Using chsh -s /usr/bin/zsh gets me the following error: chsh: ...
0
votes
0answers
45 views

Whenever I open terminal , My terminal is running some process but why?

I am new to ubuntu . I have never used any linux based OS before .I am using zsh shell . I was setting up a development of a open source project on my machine for open source contribution . I followed ...
0
votes
0answers
80 views

Attempting to run python script from terminal using shebang returns error (for a course)

I've been trying to figure this out for a day or so browsing, when attempting to run from zsh shell using 'shebang' this is what I input into terminal: % chmod +x words.py % ./words.py http://...
0
votes
1answer
53 views

How i can change my splash screen with zsh terminal?

Guys I install a bad splash screen and my KDE desktop is broke and not loud bet I have access to my terminal so I want to change my splash screen by terminal maybe my problem is fixed I use Kubuntu 20....
3
votes
2answers
829 views

Removed zsh, but forgot to change shell back to bash, and now Ubuntu crashes (wsl)

I have been trying to install zsh on my Ubuntu terminal 20.04 (wsl). I changed the shell (using chsh) to zsh, but then I removed zsh. Then I forgot to change the shell back to bash. Now Ubuntu crashes ...
2
votes
1answer
35 views

Nautilus opens the home directory only, then proceeds to hang, and make the zsh terminal unresponsive to commands

I've been having this issue with nautilus, where when i open the terminal and I'm on the home directory, and i run nautilus. I noticed that no matter what directory i was in, it always opened the home ...
0
votes
1answer
147 views

autojump bug - /usr/bin/env: ‘python333333’: No such file or directory

While running cd, i always get a message like this, and i observed the number of 3's keep increasing as i close the terminal and reopen it. I tried uninstalling autojump and installing it again, and ...
0
votes
1answer
65 views

Prevent new terminal from being opened in the same directory

I have installed the following on Ubuntu 20.10 zsh Oh my zsh terminator When I open a new tab or split window in the terminator, I find that the current working directory is copied from the previous ...
1
vote
1answer
211 views

How to know what plugins are installed in my Oh My Zsh

I want to install 2 Oh My Zsh plugins, but I don't know their names. My brother had also downloaded them some years ago, but he doesn't know their names either. How can I know what Oh My Zsh plugins ...
2
votes
1answer
251 views

zsh true color disabled on WSL2?

Using Various Terminals for Win10 with WSL2 ubuntu 20.04 with Powerline10k. Tested color output with python module rich. As Powershell clearly shows, Windows Terminal can output True-color. But weird ...
0
votes
3answers
77 views

Why does the following zsh command change my output? [closed]

When I execute this command port=3128 echo $port:localhost I get 3128ocalhost as output. PS: When I change the first 'l' char it works fine. I can't even google it.
0
votes
2answers
483 views

Can't change shell from zsh to bash?

I've just installed zsh on Ubuntu 20.04 and decided to change it back to bash. I tried common way which is chsh but it doesn't work. Reference: changing shell from zsh to bash Current shell wolf@linux:...
1
vote
1answer
61 views

ZSH isn't following powerlevel9k theme

I installed the powerlevel9k theme 3 days ago. It was working just fine, but since yesterday my prompt is not displaying the theme. It looks like this. What can I do to fix this issue?
1
vote
0answers
174 views

How to reset PYTHONPATH to earlier value

I had been tinkering with PYTHONPATH for some work and wrote the following in my .zshrc file: export PYTHONPATH="someDirectories:aFewMoreDirectories" I then sourced the .zshrc file and then ...
0
votes
0answers
21 views

adding alias to .zshrc “bad assignment” [duplicate]

I am trying to create an alias for this docker command: docker ps -a --format="table {{ .Names }} \t {{ .Image }} \t {{ .Status }} \t {{ .Ports }}" I'm using zsh so I added this to my .zshrc ...
0
votes
0answers
94 views

Unable to source zshrc during a terminal emulator's startup

Installed Tilix terminal emulator on Ubuntu 16.04 virtual machine and configured a json theme to my liking named theme.json. I have added the same environment variables and aliases both in the .bashrc ...
0
votes
0answers
187 views

zsh cannot permission deined when run command on hidden folder

Running Ubuntu 20.04, and used zsh as shell. I Can't run ls without sudo on .folder in home directory, but using bash it doesnt requires sudo Example, using zsh to do ls : user$pc cd .steam user$pc ls ...
0
votes
0answers
18 views

Gnome Terminal holding environment from launch time. Even after editing path in.zshrc file, echo $path gives older ourput of my path in Ubuntu 20.04

After a fresh Ubuntu 20.04 installation, I was organizing my environment in zsh. Whenever I changed in my path and save .zshrc file and the use source .zshrcfor new path, echo $PATH was showing output ...
0
votes
1answer
555 views

I Can't Change my Default Interactive Shell from bash to zsh

Basically I want to change from bash to zsh so I ran the command chsh -s /bin/zsh It then asks me for my password to change the shell but when I enter it it says chsh: no changes made How do I ...
0
votes
0answers
112 views

Can no longer access terminal after removing zsh

I am using Windows Subsystem for Linux and I use the linux terminal as my default terminal. I installed oh-my-zsh and decided to uninstall it following this post. After running sudo apt-get --purge ...
0
votes
1answer
169 views

Ctrl-C interrupts process, but doesn't clear terminal line

When I press Ctrl-C, I receive interrupts for running processes (e.g., sleep 10, followed by Ctrl-C, will immediately terminate the running process). However, it doesn't clear the terminal line - in ...
0
votes
1answer
103 views

Customizing Ubuntu to look like mac

You should see my setup first. I customized Gnome to look like mac I even changed the name to macOS catalina but I don't know how to change the Host> HP Slim Desktop 290-p0xxx and that tiny ...
1
vote
0answers
41 views

ZSH wont install on fresh ubuntu 20.04 (rpi4) [duplicate]

I've just installed 20.04 on my new rpi4 8gb and I'm trying to install ZSH. It should be in the main repo and should be installed with sudo apt install zsh. Unfortunently it throws an error: E: Unable ...
0
votes
1answer
57 views

ZSH on Ubuntu - many applications missing from Start Menu

Many applications are missing from start menu after installing ZSH as instructed here. How do I restore the applications to start menu, while also keeping ZSH? Operating System: Kubuntu 20.04 KDE ...
0
votes
1answer
126 views

How can I add ZSH themes

I recently installed zsh and I tried installing some themes, but they didn't seem to work. This is how the .zshrc looks like: # If you come from bash you might have to change your $PATH. # export PATH=...
2
votes
1answer
679 views

command-not-found does not complain about unknown commands in zsh

I installed the command-not-found package and am loading it in my .zshrc like so: source /etc/zsh_command_not_found While I now get suggestions for commands that are not found but can be obtained by ...
0
votes
0answers
497 views

oh-my-zsh theme doesn't apply completely

I install oh-my-zsh follow the instructions on github-wiki. But something is not right. My terminal still has ui and background color of old ubuntu terminal. Terminal My .zshrc config: # If you come ...
1
vote
1answer
106 views

Why is my terminal prompt showing as a very long command that I ran last night?

I downloaded a large number of free data science books yesterday via a command (here, for those of you who are interested) and as of this evening, around 15 minutes ago, my terminal is now showing the ...
0
votes
0answers
20 views

zsh bullet-train node version

Using zsh with the bullet-train theme. Messed around with Webstorm, trying to learn some basic react and didn't pay much attention to the cli prompt. Now I see there's this trailing v10.19.0, which ...
0
votes
0answers
26 views

How do I set $SHELL environment variable? [duplicate]

I recently installed zsh, and made it a default shell, but then I removed it, and my terminal seems to be using bash again, but when I execute echo $SHELL command, I get usr/bin/zsh, and because of ...
0
votes
0answers
66 views

zsh auto-completion is not as good as bash auto-completion

I recently switched from bash to zsh and it was so great until i found some problems in it. Here is one of theme that I want to show you. Zsh has a powerful tab-autocompletion, but it doesn't work ...
3
votes
1answer
1k views

zsh: read:-p: no coprocess error while using read command with -p flag

community. I recently started to use zsh instead of bash and now i'm getting some problems that cannot be found on bash. One of theme: when i use read -p command, obviously with flag -p, i get an ...
0
votes
0answers
149 views

Why is there a Node.js icon in my terminal while I'm in home directory in zsh?

I'm using zsh on urxvt. I wanted to try gtop so I installed npm, then gtop by sudo npm install gtop -g (when I was in my home directory) and from then, when I'm in my home directory in zsh, I see node ...
1
vote
1answer
72 views

Command name printed after executing

After running any command, the first thing to print is the name of the command itself. Example: ~ > echo "test" echotest ~ > cd Downloads cd% ~/Downloads > Interestingly, opening tmux ...
0
votes
0answers
11 views

zsh configuration: what files are read during login and terminal session creation

Given the popularity of zsh configuration utilities I'm finding it difficult to find info on the bare bones of zsh configuration. So what files are involved during login to a zsh session in the ...
1
vote
0answers
35 views

How to have a Universal autosuggestion for any code entered once in any zsh terminal

Suppose I type a set of commands in a particular pane of Tmux. The autosuggestion feature of Tmux recognizes and helps in that pane (terminal). Let me say I started a new pane. The autosuggestion ...
1
vote
0answers
64 views

Xubuntu 19.10 with ZSH hangs after login in tty

I have oh-my-zsh installed on my Xubuntu 19.10. Sometimes, as (X)ubuntu usually does, it freezes together with the whole X server. Therefore I wanted to switch to tty1. Once I provided my credentials, ...
0
votes
2answers
39 views

Change duplicated extension of multiple files recursively from the command line

My question is almost the same as those, however, its solution doesn't work my for my case. I'd like to remove duplicated extension (in my case .zip.zip) and have only one (i.e. .zip). I tried: ...
3
votes
2answers
799 views

How do I enable zsh package suggestions as in Ubuntu bash?

I'm slowly transitioning to zsh from bash and am loving almost every part of it, but there are two things I'm really missing. One of them is snap completions, see here: Enable snap TAB-completion for ...
0
votes
0answers
55 views

ZSH do not remeber github id

I recently switched to zsh and oh my zsh and now every time i want to push in my github account, I have to give my username and password. It is not remembering it. Bash still remembers it. How to ...
0
votes
1answer
42 views

Progressively resizing a pane, by keeping an arrow button pressed

When pressing CTRL + B, ← (or another arrow key) I am able to resize the current pane of one step only. I was expecting to be able to resize the pane progressively by keeping the prefix and arrow ...
0
votes
1answer
66 views

Switching to ZSH Bricked My Mac Mini

I'm running Unbutu 18.04 on a Mac Mini with a single boot (i.e., no MacOS image). I wanted to switch to the zsh shell. I ran the command: sudo apt-get install zsh I then ran: zsh --version and ...
1
vote
0answers
360 views

bash in TTY instead of zsh

Ok, ive installed oh-my-zsh and its nice and fancy, but when i switch to TTY, it complains that 256 colors are not supported and all powerline fonts are obviously messed up. Is there a way to set bash ...
0
votes
0answers
238 views

18.04 won't load ohMyZsh.sh source every time

I installed zsh and ohMyZsh on my system ubuntu desktop 18.04. Although xsh is the default shell, I always have to run the command source $ZSH/oh-my-zsh.sh to load the theme. How can I set up my ...
0
votes
0answers
2k views

ZSH /etc/zsh/zshrc - function definition file not found

I installed zsh and oh-my-zsh across multiple users, and I saw a post about symlinking /root/.zshrc and /root/.oh-my-zsh with $HOME path variable so all users would have the same config files. ln -s $...

1
2 3 4 5 6