summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-06-22 14:50:56 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-06-22 14:50:56 +0100
commit17d2584791fc6c7ac1311ced966da8b37d83caef (patch)
tree85ec3b2daa1579794e05d6b5b78dd2c3a2fbf834
parent9e22e342fc63edbd6daeb8f3782286b877c91d69 (diff)
parent480c1af2fd3de7e1c3e803de5afc35f3ed6d1194 (diff)
Merge branch 'master' of github.com:yulqen/openbsddotfiles
-rw-r--r--kshrc10
-rw-r--r--xsession_x220_us_kb2
2 files changed, 11 insertions, 1 deletions
diff --git a/kshrc b/kshrc
index f40b227..b4136ec 100644
--- a/kshrc
+++ b/kshrc
@@ -85,6 +85,16 @@ ytmp3 () {
cd ~/Downloads && yt-dlp -f 'ba' -x --audio-format mp3 "$1" -o '%(title)s.%(ext)s' && cd - || return
}
+# update /usr/ports
+myupdateports() {
+ cd /usr && cvs -d anoncvs@anoncvs.spacehopper.org:/cvs -q up -Pd -A ports && cd - || return
+}
+
+# update /usr/sr
+myupdatesrc() {
+ cd /usr && cvs -d anoncvs@anoncvs.spacehopper.org:/cvs -q up -Pd -A src && cd - || return
+}
+
# completions - experimental
set -A complete_task_1 -- add sync
diff --git a/xsession_x220_us_kb b/xsession_x220_us_kb
index 97ac008..8cb2ef4 100644
--- a/xsession_x220_us_kb
+++ b/xsession_x220_us_kb
@@ -4,7 +4,7 @@ xrdb -merge $HOME/.Xresources
xsetroot -solid cadetblue
xidle &
autocutsel &
-ulimit -Sc 0 # eliminate core dumps (https://www.kevinthomas.dev/posts/openbsd-thinkpadt480.html)
+#ulimit -Sc 0 # eliminate core dumps (https://www.kevinthomas.dev/posts/openbsd-thinkpadt480.html)
scb 5600
xset b off
setxkbmap -option ctrl:nocaps