Browse code

Add dotfiles

Robert Cranston authored on 22/01/2022 06:24:34
Showing 3 changed files

1 1
new file mode 100644
... ...
@@ -0,0 +1,9 @@
1
+## Source POSIX interactive shell startup scripts
2
+for path in "$HOME/.shrc.d/"*".sh"
3
+do
4
+  if [ -r "$path" ]
5
+  then
6
+    . "$path"
7
+  fi
8
+done
9
+unset path
0 10
new file mode 100644
... ...
@@ -0,0 +1,6 @@
1
+# Disable flow control (usually Ctrl-S/Ctrl-Q). (`stty` is POSIX, but not
2
+# everything is POSIX...)
3
+if [ "$(command -v stty)" ]
4
+then
5
+  stty -ixon
6
+fi
0 7
new file mode 100644
... ...
@@ -0,0 +1,3 @@
1
+# POSIX specifies that `ed` is used for `fc -e` if `FCEDIT` this is null or
2
+# unset. Use something *slightly* newer.
3
+FCEDIT=vi