X-Git-Url: https://git.armaanb.net/?p=config.org.git;a=blobdiff_plain;f=config.org;h=697255662ff4fa8185e50180e2ed552477e5fb48;hp=d22df0dd0665b7076c641c9a930e23f091963c01;hb=HEAD;hpb=6d774af9fefb7656313903829a65185cc35fd4b1 diff --git a/config.org b/config.org index d22df0d..6972556 100644 --- a/config.org +++ b/config.org @@ -969,7 +969,7 @@ Use the vi editing mode. I still haven't found a good way to show visual feedbac **** Compilation flags #+begin_src shell :tangle ~/.config/ash/ashrc export CC=clang - export CFLAGS="-O3 -pipe -march=native" + export CFLAGS="-O3 -pipe -march=native -w -D_FORTIFY_SOURCE=1 -fPIE -fPIC" export CXX=clang++ export CXXFLAGS="$CFLAGS -stdlib=libc++" export MAKEFLAGS="-j$(nproc)" @@ -1010,6 +1010,7 @@ Use the vi editing mode. I still haven't found a good way to show visual feedbac alias ln='ln -v' alias grep='grep -in' alias mkdir='mkdir -pv' + alias kmake='make LLVM=1 LLVM_IAS=1 YACC=byacc' emacs() { $EDITOR "$@" & } alias vim="emacs" #+end_src @@ -1154,6 +1155,8 @@ I use tmux in order to keep my st build light. Still learning how it works. set-window-option -g mode-keys vi bind-key -T copy-mode-vi 'v' send -X begin-selection bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard' + unbind C-b + set-option -g prefix None #+end_src ** GPG *** Config