Skip to content

Commit

Permalink
Small tweaks for ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
veracioux committed Jul 22, 2023
1 parent 83729c7 commit 858a433
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions scripts.org
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,14 @@ Wrapper command around the equivalent [[file:shells.org::*=o=][fish function]].
#+begin_src bash :tangle (haris/tangle-home ".local/bin/o")
fish -C "o $(printf "%q " "$@")"
#+end_src
** =get-os-type=
Get the OS type.
#+begin_src shell :tangle (haris/tangle-home ".local/bin/get-os-type")
cat /etc/lsb-release 2>/dev/null | grep -q 'Ubuntu' && echo 'ubuntu' && exit
cat /etc/os-release 2>/dev/null | grep -q 'Arch Linux' && echo 'arch' && exit
echo 'Unsupported OS' >&2
exit 1
#+end_src
* Applications
These are programs that are meant to be used mostly interactively. As such, they
are designed to be easily integrated into dmenu scripts.
Expand Down
2 changes: 1 addition & 1 deletion terminal.org
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ If you are viewing this on Linux, you can find the config reference [[file:/usr/
shell:
program: fish
scrolling:
history: 100000
history: 100000 # Unfortunately, this is a hard limit in alacritty
selection:
save_to_clipboard: true
hints:
Expand Down
1 change: 1 addition & 0 deletions vcs.org
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ My config for version control systems I use (overwhelmingly git + GitHub).
a = add
b = branch
chx = update-index --chmod=+x
root = rev-parse --show-toplevel # Needed for older versions of git
#+end_src
*** ls
#+begin_src gitconfig
Expand Down

0 comments on commit 858a433

Please sign in to comment.