tho

joined 4 years ago
[–] tho@lemmy.ml 8 points 8 months ago

freebsd is 14 something too

[–] tho@lemmy.ml 1 points 8 months ago
[–] tho@lemmy.ml 1 points 8 months ago (1 children)
[–] tho@lemmy.ml 4 points 10 months ago (1 children)
[–] tho@lemmy.ml 2 points 1 year ago

same for gh (github cli)

gh() {
  if [[ "$1" = repo && "$2" = clone ]]; then
    shift
    shift
    set -- repo clone "$@" -- --recursive
  fi
  command gh "$@"
}
[–] tho@lemmy.ml 4 points 1 year ago* (last edited 1 year ago) (1 children)

the only thing this does is add "--recursive" to every git clone invocation


git() {
  if [ "$1" = clone ]; then
    shift
    set -- clone --recursive "$@"
  fi
  command git "$@"
}
[–] tho@lemmy.ml 2 points 1 year ago

in zsh you can just forbid it to save duplicates

[–] tho@lemmy.ml 5 points 1 year ago* (last edited 1 year ago)
ccd() {
  mkdir "$1" && cd "$1"
}
[–] tho@lemmy.ml 12 points 1 year ago

btw 1 is literally impossible, there's no gui driver setting, there's no regedit switch, no nothing. on linux you just need to write to this file /sys/devices/platform/i8042/serio1/serio2/drift_time

[–] tho@lemmy.ml 18 points 1 year ago* (last edited 1 year ago) (2 children)
  1. adjust the drift speed of a thinkpad trackpoint
  2. stream audio from one computer to another one (or a phone) with ease (thanks pulseaudio)
[–] tho@lemmy.ml 1 points 1 year ago* (last edited 1 year ago) (1 children)

it's easier to list which distros have it ootb (none)

[–] tho@lemmy.ml 2 points 1 year ago
 

this is my favorite song of all time. enjoy!

view more: next ›