cleanup, popravki

x1carbon
Jure Podgoršek 2018-11-02 01:05:13 +01:00
parent 8d97dfaf87
commit 13f11a15db
3 changed files with 5 additions and 15 deletions

View File

@ -254,7 +254,7 @@ exec --no-startup-id $set_bg &
exec nm-applet & exec nm-applet &
# Keyboard layout, caps lock as compose key # Keyboard layout, caps lock as compose key
exec_always --no-startup-id "setxkbmap -layout us,si -option grp:shifts_toggle -option compose:caps" exec_always --no-startup-id "setxkbmap -layout us,si -option grp:lctrl_lwin_toggle -option compose:caps"
# gaps between windows # gaps between windows
gaps inner 9 gaps inner 9

View File

@ -599,7 +599,7 @@ This function is called at the very end of Spacemacs initialization."
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(package-selected-packages '(package-selected-packages
(quote (quote
(zenburn-theme yasnippet-snippets toc-org persp-mode org-mime org-download ivy-yasnippet impatient-mode htmlize gruvbox-theme autothemer google-translate evil-mc evil-matchit editorconfig dumb-jump doom-modeline docker counsel-projectile cider sesman clojure-mode anaconda-mode counsel highlight helm window-purpose avy projectile magit magit-popup ghub pythonic ivy org-plus-contrib yapfify yaml-mode ws-butler winum which-key wgrep web-mode web-beautify vue-mode volatile-highlights vmd-mode vi-tilde-fringe uuidgen use-package treepy tao-theme tagedit tablist symon swiper suscolors-theme string-inflection sql-indent spaceline-all-the-icons solarized-theme smex smeargle slim-mode shrink-path seeing-is-believing scss-mode sass-mode rvm rudel ruby-tools ruby-test-mode ruby-refactor ruby-hash-syntax rubocop rspec-mode robe rjsx-mode restart-emacs request rbenv rake rainbow-delimiters queue pyvenv pytest pyenv-mode py-isort pug-mode prettier-js popwin pippel pipenv pip-requirements phpunit phpcbf php-extras php-auto-yasnippets password-generator paradox overseer orgit org-projectile org-present org-pomodoro org-bullets org-brain open-junk-file ob-restclient ob-http nginx-mode neotree nameless move-text minitest markdown-toc magit-svn magit-gitflow macrostep lorem-ipsum livid-mode live-py-mode link-hint json-navigator json-mode js2-refactor js-doc ivy-xref ivy-purpose ivy-hydra indent-guide importmagic imenu-list hungry-delete hl-todo highlight-parentheses highlight-numbers highlight-indentation helm-make helm-core guix graphql golden-ratio gnuplot gitignore-templates gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link git-gutter-fringe git-gutter-fringe+ gh-md fuzzy font-lock+ flycheck-pos-tip flx-ido floobits fill-column-indicator fancy-battery eyebrowse extempore-mode expand-region evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-org evil-numbers evil-nerd-commenter evil-magit evil-lisp-state evil-lion evil-indent-plus evil-iedit-state evil-goggles evil-exchange evil-escape evil-ediff evil-cleverparens evil-args evil-anzu emmet-mode elisp-slime-nav eldoc-eval drupal-mode dotenv-mode dockerfile-mode docker-tramp diminish diff-hl define-word dakrone-light-theme cython-mode counsel-css company-web company-tern company-statistics company-restclient company-php company-auctex company-anaconda column-enforce-mode clojure-snippets clojure-cheatsheet clj-refactor clean-aindent-mode cider-eval-sexp-fu chruby centered-cursor-mode bundler browse-at-remote auto-yasnippet auto-highlight-symbol auto-compile auctex-latexmk all-the-icons-dired aggressive-indent ace-window ace-link ac-ispell)))) (tao-theme solarized-theme dumb-jump doom-modeline aggressive-indent cider flycheck projectile magit ivy zenburn-theme yasnippet-snippets yapfify yaml-mode ws-butler winum which-key wgrep web-mode web-beautify vue-mode volatile-highlights vmd-mode vi-tilde-fringe uuidgen use-package toc-org tagedit symon suscolors-theme string-inflection sql-indent spaceline-all-the-icons smex smeargle slim-mode shrink-path sesman seeing-is-believing scss-mode sass-mode rvm rudel ruby-tools ruby-test-mode ruby-refactor ruby-hash-syntax rubocop rspec-mode robe rjsx-mode restart-emacs request rbenv rake rainbow-delimiters queue pyvenv pytest pyenv-mode py-isort pug-mode prettier-js popwin pippel pipenv pip-requirements phpunit phpcbf php-extras php-auto-yasnippets persp-mode password-generator paradox overseer orgit org-projectile org-present org-pomodoro org-mime org-download org-bullets org-brain open-junk-file ob-restclient ob-http nginx-mode neotree nameless move-text minitest markdown-toc magit-svn magit-gitflow macrostep lorem-ipsum livid-mode live-py-mode link-hint json-navigator js2-refactor js-doc ivy-yasnippet ivy-xref ivy-purpose ivy-hydra indent-guide importmagic impatient-mode hungry-delete hl-todo highlight-parentheses highlight-numbers highlight-indentation helm-make guix gruvbox-theme google-translate golden-ratio gnuplot gitignore-templates gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link git-gutter-fringe git-gutter-fringe+ ghub gh-md fuzzy font-lock+ flycheck-pos-tip flx-ido floobits fill-column-indicator fancy-battery eyebrowse extempore-mode expand-region evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-org evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-magit evil-lisp-state evil-lion evil-indent-plus evil-iedit-state evil-goggles evil-exchange evil-escape evil-ediff evil-cleverparens evil-args evil-anzu emmet-mode elisp-slime-nav eldoc-eval editorconfig drupal-mode dotenv-mode dockerfile-mode docker diminish diff-hl define-word dakrone-light-theme cython-mode counsel-projectile counsel-css company-web company-tern company-statistics company-restclient company-php company-auctex company-anaconda column-enforce-mode clojure-snippets clojure-mode clojure-cheatsheet clean-aindent-mode cider-eval-sexp-fu chruby centered-cursor-mode bundler browse-at-remote auto-yasnippet auto-highlight-symbol auto-compile auctex-latexmk all-the-icons-dired ace-window ace-link ac-ispell))))
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.

16
.zshrc
View File

@ -43,8 +43,6 @@ alias ls='ls --color=auto'
#alias vim='TERM=xterm-256color vim' #alias vim='TERM=xterm-256color vim'
alias vi='vim' alias vi='vim'
alias apachelog="gnome-terminal -e \"tail -f /var/log/httpd/error_log\"" alias apachelog="gnome-terminal -e \"tail -f /var/log/httpd/error_log\""
alias nvidiaoff="sudo modprobe -r nvidia_drm nvidia_modeset nvidia-uvm nvidia; sudo tee /proc/acpi/bbswitch <<<OFF"
#alias nvidiaoff="sudo tee /sys/kernel/debug/vgaswitcheroo/switch <<<OFF"
alias sudo="sudo " alias sudo="sudo "
alias grep="grep --color=auto" alias grep="grep --color=auto"
# Remove not-required-anymore packages # Remove not-required-anymore packages
@ -53,10 +51,6 @@ alias paclean="sudo pacman -R \$(pacman -Qdt | awk '{print \$1}')"
alias pacsize="expac -H M '%m\t%n' | sort -h" alias pacsize="expac -H M '%m\t%n' | sort -h"
alias ffon="sudo cp /etc/resolv.conf.ff /etc/resolv.conf" alias ffon="sudo cp /etc/resolv.conf.ff /etc/resolv.conf"
alias gitclean="git fetch -p && for branch in \$(git branch -vv | grep ': gone]' | gawk '{print \$1}'); do git branch -D \$branch; echo 'deleted \$branch'; done" alias gitclean="git fetch -p && for branch in \$(git branch -vv | grep ': gone]' | gawk '{print \$1}'); do git branch -D \$branch; echo 'deleted \$branch'; done"
#alias llc="sshfs 10.0.0.203:/Users/g1smo/Projects/LickList ~/ll -oauto_cache,reconnect,no_readahead -o Ciphers=arcfour -o Compression=no"
alias llc="sudo mount -t nfs -v -o noacl,nocto,rsize=32768,wsize=32768,noatime,nodiratime 10.0.0.195:/Users/g1smo/Projects/LickList ~/ll"
alias llcc="sudo mount -t nfs -o noacl,nocto,rsize=32768,wsize=32768,noatime,nodiratime 192.168.8.104:/Users/g1smo/Projects/LickList ~/ll"
alias lld="sudo umount -l ~/ll"
alias sctl="systemctl" alias sctl="systemctl"
# Firefox scaling! # Firefox scaling!
@ -67,12 +61,8 @@ alias ff="find ~/.mozilla/firefox -name \"prefs.js\" -exec sed -ri 's/(devPixels
# Reverse search shortcut # Reverse search shortcut
bindkey '^R' history-incremental-pattern-search-backward bindkey '^R' history-incremental-pattern-search-backward
# Xdebug
export XDEBUG_CONFIG="idekey=xdebug remote_host=localhost remote_enable=1 remote_handler=dbgp remote_host=localhost remote_port=9001"
export SCALA_HOME="/usr/share/scala" export SCALA_HOME="/usr/share/scala"
export SAL_USE_VCLPLUGIN="gtk" export SAL_USE_VCLPLUGIN="gtk"
export PHP_INI_SCAN_DIR="/etc/php56/conf.d/"
# NVM # NVM
#export NVM_DIR="/home/g1smo/.nvm" #export NVM_DIR="/home/g1smo/.nvm"
@ -123,7 +113,7 @@ export GUIX_PROFILE_FILE="$HOME/.guix-profile/etc/profile"
[ -e $GUIX_PROFILE_FILE ] && source $GUIX_PROFILE_FILE [ -e $GUIX_PROFILE_FILE ] && source $GUIX_PROFILE_FILE
export GUIX_PACKAGE_PATH="$HOME/Projects/guix-packages" export GUIX_PACKAGE_PATH="$HOME/Projects/guix-packages"
export GUIX_LOCPATH="$GUIX_PROFILE/lib/locale" export GUIX_LOCPATH="$GUIX_PROFILE/lib/locale"
export SSL_CERT_DIR="$GUIX_PROFILE/etc/ssl/certs" #export SSL_CERT_DIR="$GUIX_PROFILE/etc/ssl/certs"
export SSL_CERT_FILE="$SSL_CERT_DIR/ca-certificates.crt" #export SSL_CERT_FILE="$SSL_CERT_DIR/ca-certificates.crt"
#export GIT_SSL_CAINFO="$SSL_CERT_FILE" #export GIT_SSL_CAINFO="$SSL_CERT_FILE"
export CURL_CA_BUNDLE="$SSL_CERT_FILE" #export CURL_CA_BUNDLE="$SSL_CERT_FILE"