tho

joined 5 years ago
[–] tho@lemmy.ml 1 points 2 months ago (1 children)

what is that editor? it looks very cool

[–] tho@lemmy.ml 4 points 7 months ago (1 children)

if only it recognized my wifi card, which it doesn't. neither 10 nor 11 do

[–] tho@lemmy.ml 6 points 8 months ago (2 children)

more like a week

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

freebsd is 14 something too

[–] tho@lemmy.ml 7 points 10 months ago
[–] tho@lemmy.ml 77 points 1 year ago (3 children)

i will never grow tired repeating this: systemd is the best thing that happened to linux in the 10s

[–] tho@lemmy.ml 0 points 1 year ago (1 children)

No, it's just a wireguard config

 

subject

[–] 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 5 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"
}
view more: next ›