WhyEssEff [she/her]

I do the emotes lea-caramelldansen

  • 26 Posts
  • 95 Comments
Joined 4 years ago
cake
Cake day: July 25th, 2020

help-circle




























  • I work outta zsh as it’s the default for macOS but I can’t evangelize it much because I don’t have enough bash experience to differentiate the two. I think it’s pretty neat, though.

    I use passion for my theme and spaceship for my prompt. Used to use powerlevel, but I found it to be too visually cluttered for my tastes after a while. With opsec stuff cleared out–here’s my neofetch:

    and here’s an example prompt:

    some useful aliases:

    alias modx="chmod +x" # make file/script executable
    alias calc="bc -e" # quick calculator
    alias sl="ln -s" # symlink
    

    I’d also recommend making a catch-all function for updating your package managers. I call mine shell-update and have it aliased to shu, which is the following function in my config:

    brew update # homebrew sync
    brew upgrade # update packages
    brew cleanup # delete old versions
    
    rustup update # rust toolchain update
    
    npm update -g # node global update
    
    pip3 list -o \  # python mass update
      | cut -f1 -d' ' \
      | tr " " "\n" \
      | awk '{if(NR>=3)print}' \
      | cut -d' ' -f1 \
      | xargs -n1 pip3 install -U
    
    omz update # oh-my-zsh update
    

    Your environment may vary.