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.

126 lines
3.7 KiB

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