removed `install' abbreviation, emacsclient now launched in GUI when possible, fixed org title

This commit is contained in:
Phuntsok Drak-pa 2019-11-03 12:43:01 +01:00
parent d285729d66
commit f1d40e2b1c
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
2 changed files with 6 additions and 13 deletions

View File

@ -1,4 +1,4 @@
#+TITLE: Phundraks dotfiles
#+TITLE: Phundraks fish config
#+AUTHOR: Lucien "Phundrak” Cartier-Tilet
#+EMAIL: phundrak@phundrak.fr
#+OPTIONS: H:4 broken_links:mark email:t ^:{} auto-id:t
@ -155,11 +155,11 @@
set -gx SUDO_ASKPASS ~/.local/bin/askpass
#+END_SRC
Now, lets declare our editor of choice, EmacsClient. Now, we want it to run
in the terminal, since it will most often be just quick edits, nothing too
heavy, if it is called from the =EDITOR= variable (from Git, for example).
Now, lets declare our editor of choice, EmacsClient; not Emacs itself since
it will most often be just quick edits, nothing too heavy, if it is called
from the =EDITOR= variable (from Git, for example).
#+BEGIN_SRC fish
set -gx EDITOR emacsclient -c -nw
set -gx EDITOR emacsclient -c
#+END_SRC
Finally, some development packages require the =PKG_CONFIG_PATH= to be set,
@ -234,11 +234,6 @@
abbr remove 'sudo pacman -Rscnd'
#+END_SRC
And if I want to install something, I just have to type =install=.
#+BEGIN_SRC fish
abbr install 'sudo pacman -Sy'
#+END_SRC
But if I just want to run =pacman= as sudo, then I could always just type
=p=.
#+BEGIN_SRC fish

View File

@ -21,7 +21,7 @@ set -gx PATH $HOME/.local/bin $HOME/go/bin $HOME/.cargo/bin $PATH
set -gx SUDO_ASKPASS ~/.local/bin/askpass
set -gx EDITOR emacsclient -c -nw
set -gx EDITOR emacsclient -c
set -gx PKG_CONFIG_PATH /usr/local/lib/pkgconfig/ $PKG_CONFIG_PATH
@ -42,8 +42,6 @@ abbr psmem10 'ps auxf | sort -nr -k 4 | head -10'
abbr remove 'sudo pacman -Rscnd'
abbr install 'sudo pacman -Sy'
abbr p 'sudo -A pacman'
abbr purge 'yay -Sc'