Michael Zhang 7 months ago
parent
commit
8fc969f4ba
No account linked to committer's email address
7 changed files with 13 additions and 6 deletions
  1. 2
    0
      .config/i3/config
  2. 1
    1
      .config/nvim/init.vim
  3. 1
    1
      .local/scripts/backup
  4. 1
    1
      .local/scripts/mediahelper
  5. 3
    0
      .xinitrc
  6. 0
    1
      .zprofile
  7. 5
    2
      .zshrc

+ 2
- 0
.config/i3/config View File

@@ -30,7 +30,9 @@ font pango:Roboto Mono for Powerline 11
30 30
 # exec --no-startup-id compton -b
31 31
 exec --no-startup-id feh --bg-scale $HOME/Pictures/wallpaper.png
32 32
 exec --no-startup-id mpd
33
+exec --no-startup-id fcitx-autostart
33 34
 # exec_always --no-startup-id $HOME/.config/polybar/launch.sh
35
+# exec --no-startup-id fcitx-autostart
34 36
 exec --no-startup-id dunst
35 37
 
36 38
 # misc

+ 1
- 1
.config/nvim/init.vim View File

@@ -11,7 +11,7 @@
11 11
     Plug 'vim-syntastic/syntastic'
12 12
     Plug 'wakatime/vim-wakatime'
13 13
 
14
-    Plug 'rhysd/vim-clang-format', { 'for': 'c' }
14
+    Plug 'rhysd/vim-clang-format', { 'for': ['c', 'cpp'] }
15 15
 
16 16
     Plug 'fatih/vim-go', { 'for': 'go' }
17 17
     Plug 'zchee/deoplete-go', { 'do': 'make', 'for': 'go' }

+ 1
- 1
.local/scripts/backup View File

@@ -4,7 +4,7 @@
4 4
 # config
5 5
 RSYNC=/usr/bin/rsync
6 6
 RSYNCFLAGS=-azP
7
-DEST="mgitea:backup"
7
+DEST="server:backup"
8 8
 BACKUPLIST=$HOME/.backup
9 9
 
10 10
 # list of files to back up

+ 1
- 1
.local/scripts/mediahelper View File

@@ -16,7 +16,7 @@ case "${1}" in
16 16
 	media-toggle)
17 17
 		mpc toggle
18 18
 		;;
19
-	media-previous)
19
+	media-prev)
20 20
 		mpc prev
21 21
 		;;
22 22
 	mute)

+ 3
- 0
.xinitrc View File

@@ -1,4 +1,7 @@
1 1
 #!/bin/bash
2
+export GTK_IM_MODULE=fcitx
3
+export QT_IM_MODULE=fcitx
4
+export XMODIFIERS=@im=fcitx
2 5
 [[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
3 6
 xset +fp /home/michael/.fonts
4 7
 xset fp rehash

+ 0
- 1
.zprofile View File

@@ -2,4 +2,3 @@ source $HOME/.local/init/profile.sh
2 2
 
3 3
 export PATH="$PATH:$HOME/.local/bin"
4 4
 export PATH="$HOME/.cargo/bin:$PATH"
5
-

+ 5
- 2
.zshrc View File

@@ -13,14 +13,17 @@ plugins=(
13 13
 source $ZSH/oh-my-zsh.sh
14 14
 
15 15
 alias backup='$HOME/.local/scripts/backup'
16
-alias ls='ls -F --color'
16
+alias ls='exa -F'
17 17
 alias rm='trash'
18 18
 alias ytdl='youtube-dl --extract-audio --audio-format mp3 --embed-thumbnail --restrict-filenames'
19 19
 alias siteclone='wget --recursive --no-clobber --page-requisites --html-extension --convert-links --restrict-file-names=windows --no-parent'
20 20
 
21
-export PATH="$PATH:$HOME/.local/bin:$HOME/.local/scripts:$HOME/.cargo/bin:/usr/local/go/bin:$HOME/go/bin:$HOME/.gem/ruby/2.5.0/bin:$HOME/.nvm/versions/node/v9.2.1/bin:$HOME/.nimble/bin:$HOME/.local/bin/aarch64-none-elf/bin:$HOME/.local/go/bin"
21
+export PATH="$PATH:$HOME/.local/bin:$HOME/.local/scripts:$HOME/.cargo/bin:/usr/local/go/bin:$HOME/go/bin:$HOME/.gem/ruby/2.5.0/bin:$HOME/.nvm/versions/node/v9.2.1/bin:$HOME/.nimble/bin:$HOME/.local/bin/aarch64-none-elf/bin:$HOME/.local/go/bin:$HOME/.local/share/android-sdk/tools"
22 22
 export GOPATH="$HOME/go"
23 23
 
24
+[[ -s /home/michael/.autojump/etc/profile.d/autojump.sh ]] && source /home/michael/.autojump/etc/profile.d/autojump.sh
25
+autoload -U compinit && compinit -u
26
+
24 27
 # opam
25 28
 # eval `opam config env`
26 29
 

Loading…
Cancel
Save