Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

zsh

what is the zsh equivalent of bash’s export -f

August 9, 2022 by Magenaut

So I started using zsh. I like it all right. It seems very cool and slick, and the fact that the current working directory and actual command line are on different lines is nice, but at the same time, I’m noticing that zsh can be a bit slower than bash, especially when printing text to the screen.

Categories Q&A, Unix & Linux Tags function, shell-script, zsh Leave a comment

Per-directory history in zsh

August 9, 2022 by Magenaut

I am happily using zsh since a while now, and I am quite satisfied with my history settings, which are:

Categories Q&A, Unix & Linux Tags command-history, oh-my-zsh, zsh Leave a comment

Renaming files in lexicographical order with a numerical pattern that increases sequentially with fixed padding

August 9, 2022 by Magenaut

I have files such as

Categories Q&A, Unix & Linux Tags filenames, rename, zsh Leave a comment

Display stuff below the prompt at a shell prompt?

August 8, 2022 by Magenaut

Lets’s say my prompt looks like this (the _ represents my cursor)

Categories Q&A, Unix & Linux Tags bash, prompt, zsh Leave a comment

Shell valid function name characters

August 8, 2022 by Magenaut

Using extended Unicode characters is (no-doubt) useful for many users.

Categories Q&A, Unix & Linux Tags bash, function, shell, zsh Leave a comment

is there a way to set coloring for cd tab complete?

August 8, 2022 by Magenaut

I use ubuntu 11.04.

Categories Q&A, Unix & Linux Tags autocomplete, bash, colors, zsh Leave a comment

Changing the default shell without chsh or administrator privileges

August 8, 2022 by Magenaut

I saw the following snippet in this thread: How to change from csh to bash as default shell

Categories Q&A, Unix & Linux Tags exec, login, shell, zsh Leave a comment

read command in zsh throws error

August 8, 2022 by Magenaut

In zsh, running the command read -p 'erasing all directories (y/n) ?' ans, throws the error,

Categories Q&A, Unix & Linux Tags read, zsh Leave a comment

Force title on GNU screen

August 8, 2022 by Magenaut

By default, the title of a screen session is the name of the last command entered, which is fine for me, but in some cases I’d like to change it. I know the command Ctrl–A A, but it only changes the title until the next command, and I’d like it to stay there until I decide otherwise.

Categories Q&A, Unix & Linux Tags gnu-screen, window-title, zsh Leave a comment

ls -l –group-directories-first (act on symlinks as well)

August 8, 2022 by Magenaut

ls option --group-directories-first causes directories to be listed on the top, which makes the output of ls nice and clean:

Categories Q&A, Unix & Linux Tags bash, directory, ls, symlink, zsh Leave a comment
Older posts
Newer posts
← Previous Page1 … Page3 Page4 Page5 … Page7 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress