Dotfiles for my tiling window manager + terminal workflow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

124 lines
3.6 KiB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
  1. # default {{{ #
  2. # If you come from bash you might have to change your $PATH.
  3. # Path to your oh-my-zsh installation.
  4. export ZSH=/home/kevin/.oh-my-zsh
  5. export EDITOR=/usr/bin/nvim
  6. export VISUAL=/usr/bin/nvim
  7. # Set name of the theme to load. Optionally, if you set this to "random"
  8. # it'll load a random theme each time that oh-my-zsh is loaded.
  9. # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
  10. # ZSH_THEME="miloshadzic"
  11. ZSH_THEME="bira"
  12. # Set list of themes to load
  13. # Setting this variable when ZSH_THEME=random
  14. # cause zsh load theme from this variable instead of
  15. # looking in ~/.oh-my-zsh/themes/
  16. # An empty array have no effect
  17. # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
  18. # Uncomment the following line to use case-sensitive completion.
  19. # CASE_SENSITIVE="true"
  20. # Uncomment the following line to use hyphen-insensitive completion. Case
  21. # sensitive completion must be off. _ and - will be interchangeable.
  22. # HYPHEN_INSENSITIVE="true"
  23. # Uncomment the following line to disable bi-weekly auto-update checks.
  24. # DISABLE_AUTO_UPDATE="true"
  25. # Uncomment the following line to change how often to auto-update (in days).
  26. # export UPDATE_ZSH_DAYS=13
  27. # Uncomment the following line to disable colors in ls.
  28. # DISABLE_LS_COLORS="true"
  29. # Uncomment the following line to disable auto-setting terminal title.
  30. # DISABLE_AUTO_TITLE="true"
  31. # Uncomment the following line to enable command auto-correction.
  32. ENABLE_CORRECTION="true"
  33. # Uncomment the following line to display red dots whilst waiting for completion.
  34. COMPLETION_WAITING_DOTS="true"
  35. # Uncomment the following line if you want to disable marking untracked files
  36. # under VCS as dirty. This makes repository status check for large repositories
  37. # much, much faster.
  38. # DISABLE_UNTRACKED_FILES_DIRTY="true"
  39. # Uncomment the following line if you want to change the command execution time
  40. # stamp shown in the history command output.
  41. # The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
  42. # HIST_STAMPS="mm/dd/yyyy"
  43. # Would you like to use another custom folder than $ZSH/custom?
  44. # ZSH_CUSTOM=/path/to/new-custom-folder
  45. # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
  46. # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
  47. # Example format: plugins=(rails git textmate ruby lighthouse)
  48. # Add wisely, as too many plugins slow down shell startup.
  49. plugins=(
  50. git
  51. )
  52. source $ZSH/oh-my-zsh.sh
  53. source ~/linux-config/aliases/zsh_aliases
  54. # User configuration
  55. # export MANPATH="/usr/local/man:$MANPATH"
  56. # You may need to manually set your language environment
  57. export LANG=en_US.UTF-8
  58. export LC_MESSAGES="C"
  59. # Preferred editor for local and remote sessions
  60. # if [[ -n $SSH_CONNECTION ]]; then
  61. # export EDITOR='vim'
  62. # else
  63. # export EDITOR='mvim'
  64. # fi
  65. # Compilation flags
  66. # export ARCHFLAGS="-arch x86_64"
  67. # ssh
  68. # export SSH_KEY_PATH="~/.ssh/rsa_id"
  69. # Set personal aliases, overriding those provided by oh-my-zsh libs,
  70. # plugins, and themes. Aliases can be placed here, though oh-my-zsh
  71. # users are encouraged to define aliases within the ZSH_CUSTOM folder.
  72. # For a full list of active aliases, run `alias`.
  73. #
  74. # Example aliases
  75. # alias zshconfig="mate ~/.zshrc"
  76. # alias ohmyzsh="mate ~/.oh-my-zsh"
  77. # }}} default #
  78. if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
  79. exec startx
  80. fi
  81. # pywal
  82. export PATH="${PATH}:${HOME}/.local/bin/"
  83. (cat ~/.cache/wal/sequences &)
  84. # keyboard delay/rate
  85. xset r rate 200 60
  86. # laptop
  87. if [ "$(hostname)" = "X1-Carbon" ];
  88. then
  89. xrandr --dpi 125
  90. xinput disable "ELAN Touchscreen"
  91. # enable horizontal scrolling
  92. synclient HorizTwoFingerScroll=1
  93. fi
  94. source /home/kevin/.shortcuts
  95. [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh