[Fish] Add XFCE PolKit to PATH, add sxiv abbreviation

This commit is contained in:
Lucien Cartier-Tilet 2022-02-26 15:37:01 +01:00
parent 56317cc09b
commit d982b0f6d5
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 5 additions and 2 deletions

View File

@ -294,6 +294,7 @@ my own executables, and some more.
| $HOME/.gem/ruby/3.0.0/bin | Ruby 3.0 binaries and executables |
| $HOME/.gem/ruby/2.6.0/bin | Ruby 2.6 binaries and executables |
| $HOME/.cabal/bin | Haskel binaries |
| /usr/lib/xfce-polkit | Path to XFCEs PolKit |
#+NAME: generate-extra-paths
#+BEGIN_SRC emacs-lisp :var paths=extra-paths[,0] :exports none :cache yes
@ -301,14 +302,15 @@ my own executables, and some more.
paths " \\\n")
#+END_SRC
#+RESULTS[78b18fae502696c41836897c6fc3fd3dd82c98bd]: generate-extra-paths
#+RESULTS[caa6bfe135b035f54500ca04ba157e5698adb657]: generate-extra-paths
: $HOME/.pub-cache/bin \
: $HOME/.local/bin \
: $HOME/go/bin \
: $HOME/.cargo/bin \
: $HOME/.gem/ruby/3.0.0/bin \
: $HOME/.gem/ruby/2.6.0/bin \
: $HOME/.cabal/bin
: $HOME/.cabal/bin \
: /usr/lib/xfce-polkit
So, lets set our user paths:
#+BEGIN_SRC fish :noweb yes
@ -630,6 +632,7 @@ not displaying the filename below. Nsxiv will also open in fullscreen
and will fit the displayed image to the frame.
#+BEGIN_SRC fish
abbr nsxiv 'nsxiv -abfs f'
abbr sxiv 'nsxiv -abfs f' # old habits die hard
#+END_SRC
Finally, let's declare the following abbreviation that will launch an mpv