Przeglądaj źródła

Add useful shell functions

ApisNecros 2 lat temu
rodzic
commit
a6e4f6344e
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      functions

+ 5 - 0
functions

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