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.

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