#zshell — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #zshell, aggregated by home.social.
-
Looks complex. (-:
C shell:
% printf '%s\n' $path
Z shell:
% printf '%q\n' "$path[@]"
-
Eschewing Zshell for Emacs Shell (2014)
https://www.howardism.org/Technical/Emacs/eshell-fun.html
#HackerNews #Eschewing #Zshell #for #Emacs #Shell #Emacs #Zshell #TechNews #Programming
-
I found my #ti85 from the early 90s, on which I had installed #zshell in 1994 so I could play tetris in class. I gave it to my teenager, who scratched out my first name to write theirs, and is now trying to beat my 30yo high score. #PermaComputing
-
I add a zsh `custom` folder inside my versioned .config repo for aliases, functions, and themes:
`mkdir -p "$HOME/.config/zsh/custom"`
Copy folder structure and examples, `cd "$HOME/.config/zsh" && cp -r ~/.oh-my-zsh/custom/ ./custom`
Edit `zshrc` to set `ZSH_CUSTOM`.
To customise the prompt with a timestamp and git info, I create a theme in: `~/.oh-my-zsh/custom/themes/di.zsh-theme`
#zsh #zshell #DiSetsUpAMacBook 18/n
-
For zsh, I group completion cache files into a subdirectory to minimise the loose collection of stray files in my home directory. I edit `~/.config/zsh/zshrc` and add comp dump file details before `source $ZSH/oh-my-zsh.sh`.
I also move `zsh_history` (which is not really config) out of the config directory. Edit `~/.config/zsh/zshrc` and add details before `source $ZSH/oh-my-zsh.sh`.
If I decide to delete `~/.cache` on a whim to free up space on my hard drive, I'll lose my whole zsh history. That's ok! If I miss it, that's what backups are for.
Close all existing tabs and start a new shell so I don't accidentally make more files in old locations. Delete any stray `.zcompdump-*` or `.zsh_history` files already created.
#zsh #zshell #DiSetsUpAMacBook 17/n
-
I set up zsh with Oh My Zsh.
First, I make a directory for zsh config files in the git tracked .config dir:
`mkdir -p ~/.config/zsh`
I create a `~/.config/zsh/.zshenv` file and in it I set `ZDOTDIR` to the new config dir:
`ZDOTDIR="$HOME/.config/zsh"`
I create symlinks for the `.zshenv` file (which will be processed before other zsh files) and zshrc:
`ln -s ~/.config/zsh/zshenv ~/.zshenv`
`cd ~/.config/zsh/ && ln -s zshrc .zshrc`
#zsh #zshell #DiSetsUpAMacBook 16/n
-
Well, yes, because you wanted to use #zshell (or #fisshell in my case) because you want to WORK in the host system shell. That’s what’s wrong. The host system shell is just for administering other containers (including the #distrobox ones) and you should remove all temptation to use it for real work.
-
@kenshirriff @b0rk Always default to enclosing file names and other argument strings to your #shell in 'single quotes' unless you want it mucked about with substituting $ENVIRONMENT_VARIABLES or `command substitution` (which uses an entirely other kind of quote!)
"Double quotes" will honor the spaces but also tell your shell to look for variable and command expansion.
#Linux #Unix #bash #zsh #Zshell #ksh #csh #tcsh #fish #FishShell
-
Another #OpenSource project pulls back from active #development:
#Powerlevel10k (a theme engine for the #zsh command-line #shell) author Roman Perepelitsa has placed the project on "life support” due to the high cost and mental strain of addressing personalized assistance requests: https://github.com/romkatv/powerlevel10k/issues/2690#issuecomment-2132146751
-
Another #OpenSource project pulls back from active #development:
#Powerlevel10k (a theme engine for the #zsh command-line #shell) author Roman Perepelitsa has placed the project on "life support” due to the high cost and mental strain of addressing personalized assistance requests: https://github.com/romkatv/powerlevel10k/issues/2690#issuecomment-2132146751
-
Another #OpenSource project pulls back from active #development:
#Powerlevel10k (a theme engine for the #zsh command-line #shell) author Roman Perepelitsa has placed the project on "life support” due to the high cost and mental strain of addressing personalized assistance requests: https://github.com/romkatv/powerlevel10k/issues/2690#issuecomment-2132146751
-
Another #OpenSource project pulls back from active #development:
#Powerlevel10k (a theme engine for the #zsh command-line #shell) author Roman Perepelitsa has placed the project on "life support” due to the high cost and mental strain of addressing personalized assistance requests: https://github.com/romkatv/powerlevel10k/issues/2690#issuecomment-2132146751
-
Another #OpenSource project pulls back from active #development:
#Powerlevel10k (a theme engine for the #zsh command-line #shell) author Roman Perepelitsa has placed the project on "life support” due to the high cost and mental strain of addressing personalized assistance requests: https://github.com/romkatv/powerlevel10k/issues/2690#issuecomment-2132146751
-
Hey, zsh and iTerm2 users! Wanna jump between words on your terminal? Add this snippet into your ~/.zshrc file, and reload the shell. This allows you to use Option + Left/Right arrows to move one word forward or backward.
bindkey "[D" backward-word
bindkey "[C" forward-word
bindkey "^[a" begining-of-line
bindkey "^[e" end-of-line -
Could this be the issue?
"If the file does exist in that for (no funny characters), one other possibility is that you're trying to run a 32-bit ELF program on a system that's not correctly set up to run them (i.e., a 64-bit system without the libraries and support infrastructure for 32-bit)."
From:
https://stackoverflow.com/questions/48179399/zsh-no-such-file-or-directory-error-but-file-exist -
CW: Rosetta Code
And now I did #zsh :
https://rosettacode.org/wiki/Modular_exponentiation#zsh
But really it is #GNU #expr doing the work. I had considered using GNU #bc instead. Basically anything that can do the calculation. Unix-users in the old days often liked hoc; maybe there is a hoc implementation you could use. :)
-
I feel like such an amateur.
I only have 2 aliases set up in my #MacOS shell (zshell).
My productivity is likely suffering greatly. Send help. 🤓
-
Hacking an Obsolete Yet Modern Calculator - The gold standard for graphing calculators, at least in the US, are the Texas Inst... - https://hackaday.com/2021/11/01/hacking-an-obsolete-yet-modern-calculator/ #texasinstruments #retrocomputing #computerhacks #calculator #ticalc.org #zshell #retro #ti-84 #z80 #ti
-
Enable Timestamp For History Command In Zsh In Linux #Zsh #Zshell #Historycommand #Timestamp #Linuxcommands #Linuxbasics #Linuxtips
https://ostechnix.com/enable-timestamp-for-history-command-in-zsh-in-linux/