Damien Gonot
Home Blog Notes About

Terminal

Homepage / Notes / Computer Science / Tools / Terminal

Commands

cd change directory ls list files and directories ln -sv ~/dotfiles/.zshrc ~ symlinks a file in dotfiles directory to home (~)

Secrets in .bash_rc / .zshrc

security add-generic-password -a "$USER" -s 'Homebrew GitHub Token' -w 'qwerty123'

export HOMEBREW_GITHUB_API_TOKEN=$(security find-generic-password -s 'Homebrew GitHub Token' -w)

Termux (Android app)

Have clipboard working with Emacs: pkg install termux-api in Termux xclip-mode in Emacs

Shells

Bash

Zsh

.zshenv

always sourced

.zprofile

if login

.zshrc

if interactive

Suspending jobs

Fish

Nushell

https://github.com/nushell/nushell

Prompts

https://starship.rs/