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.

113 lines
3.4 KiB

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