Skip to main content
0votes
0answers
33views

PostgreSQL on Homebrew is Stuck on an Old Version and Not Connecting to PSQL [closed]

I'm encountering a very persistent and bizarre issue with Homebrew on macOS Sequoia (Intel-based). Despite multiple attempts to uninstall and reinstall Homebrew, and clearing caches, when I run brew ...
Jacob Torres's user avatar
0votes
0answers
19views

Heroku deploy error: /usr/bin/env: ‘ruby’: No such file or directory - Build successful, Rails 8.0.2 app, running ruby 3.4.3, zsh

Error when I run bin/rails s in heroku logs --tail /usr/bin/env: ‘ruby’: No such file or directory. Here's the heroku logs --tail sequence: Starting process with command "bundle exec puma -C ...
user3763682's user avatar
-1votes
0answers
27views

Neovim macros do not replay whitespaces [closed]

Whenever I record a macro that includes inserting whitespaces, the whitespace character gets omitted. For example, recording <insert>this is a text<escape> inserts thisisatext. Putting the ...
Mustafa's user avatar
0votes
0answers
18views

iTerm2 opens tab with different profile than the default

I have a specific profile set as my default in iTerm2. For some weird reason, when I open a new tab using the Shell > New Tab menu item, iTerm2 opens the tab with the correct profile. I get the ...
And Finally's user avatar
0votes
0answers
28views

local zsh history on up-arrow, global zsh-history on ctrl-R [closed]

I am looking for a very specific behavior in my Zsh terminals. I have multiple terminal windows open at the same time. On each terminal window, if I hit the up arrow, I'd like for it to go up through ...
mareoraft's user avatar
-1votes
0answers
38views

Extremely slow Terminal startup on macOS Sequoia (M3 Mac Pro) [closed]

Problem On my new M3 Mac Pro (36 GB RAM) running macOS Sequoia 15.3.2, launching a new interactive shell in both the built‑in Terminal.app and the GPU‑accelerated Ghostty takes orders of magnitude ...
Julius K.'s user avatar
1vote
2answers
68views

How to modify Terminal script that renames all items in folder, to rename all items in subfolder?

I have this basic Terminal script that iterates through a folder, finds the first instance of any "_" character, and renames the file using the text that occurs after that first underscore. ...
Tony's user avatar
2votes
1answer
57views

zsh completion with arguments that start with a colon

I'm trying to create a completion for a custom tool that has somewhat strange command/option syntax. It accepts several normal options with both single- and double dash, but also accepts arguments of ...
Kurt's user avatar
-5votes
0answers
192views

How to correctly install and set up path configurations for python and pip?

I have multiple versions of python and pip installed. Using python3 in the terminal runs python 3.9.6, whereas pip runs python 3.12.9; so, I can use pip3 to install a package (for example, newtworkx), ...
user30249683's user avatar
2votes
2answers
66views

Set zsh as default shell for Lando

I have installed zsh and oh-my-zsh in my Docker image that I use for Lando, but I can't seem to change the default shell upon entering it with lando ssh. Oh-my-zsh is being installed with the CHSH=yes ...
SlimDeluxe's user avatar
0votes
1answer
57views

How to completely detach a process when running a package.json script VSCode?

The problem As part of automating away the tedious bits of React Native development I'm trying to run and detach the Android emulator as part of a package.json script when I start a development build ...
Robin Macharg's user avatar
0votes
1answer
32views

Specific new alias failing while existing works (even after restart)

During some cleanup on macOS Monterey, uninstalled and reinstalled gshuf. Aliased shuf to gshuf. The line from zshrc: alias shuf='gshuf' I have a tool for my music with these three lines as the total ...
spinhead's user avatar
0votes
1answer
33views

How can I make Zsh autocomplete in the middle of a word (like Bash)? [closed]

In Bash, when I press in the middle of a word, it suggests completions based on the text up to the cursor, and if I select one, it replaces the current word rather than appending to it or leaving any ...
pedrosaurio's user avatar
1vote
1answer
49views

Mix _arguments and _values in zsh autocomplete script

I have a command with a very structured input like cmd --help cmd A -flagA1 X cmd A -flagA2 Y cmd B -flagB1 Z Where X,Y,Z are fixed values and depend on whether A or B is enabled. Ideally, I'm trying ...
Davidbrcz's user avatar
0votes
2answers
40views

Is there a way to make new variables to be scoped locally by default in zsh?

Is there a way to make new variables to be scoped locally by default in zsh? I was thinking something like this: setopt magic_local_opt; x=1 function foo { x=2 } echo $x and then end goal would ...
Jan Matejka's user avatar

153050per page
close