functions 174 B

12345
  1. # Make a directory and go into it
  2. function mkcd() { mkdir -p "$1" && cd "$1" }
  3. # Put file contents into Windows clipboard
  4. # Useful for WSL
  5. function clip() { clip.exe < "$1" }