浏览代码

Few more FreeBSD fixes to dotfiles

Colin Powell 5 年之前
父节点
当前提交
bfbb3b2027

+ 3 - 0
fish/.config/fish/config.fish

@@ -3,7 +3,10 @@ set -gx PATH ~/.cargo/bin $PATH
 set -gx PATH ~/.emacs.d/bin $PATH
 set -gx PATH ~/.fzf/bin $PATH
 set -gx PATH ~/.local/bin $PATH
+set -gx PATH ~/.asdf/install/rust/stable/bin $PATH
 fzf_key_bindings
 set -gx EDITOR vi
 set -gx XDG_RUNTIME_DIR /run/user/(id -u)
 eval (python -m virtualfish)
+direnv hook fish | source
+

+ 1 - 1
fish/.config/fish/fish_variables

@@ -41,7 +41,7 @@ SETUVAR fish_pager_color_completion:\x1d
 SETUVAR fish_pager_color_description:B3A06D\x1eyellow
 SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
 SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
-SETUVAR fish_user_paths:/Users/colinpowell/\x2efzf/bin
+SETUVAR fish_user_paths:/Users/colinpowell/\x2efzf/bin\x1e/home/powellc/\x2efzf/bin
 SETUVAR pure_begin_prompt_with_current_directory:true
 SETUVAR pure_color_command_duration:pure_color_warning
 SETUVAR pure_color_current_directory:pure_color_primary

+ 2 - 0
fish/.config/fish/functions/fish_user_key_bindings.fish

@@ -1,2 +1,4 @@
 function fish_user_key_bindings
 end
+
+fzf_key_bindings

+ 0 - 3
git/.gitconfig

@@ -27,9 +27,6 @@
 	hs  = for-each-ref --sort=-committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
 [merge]
 	conflictstyle = diff3
-[pager]
-  diff = diff-so-fancy | less --tabs=1,5 -RFX
-  show = diff-so-fancy | less --tabs=1,5 -RFX
 [gpg]
 	program = /usr/local/bin/gpg
 [status]

+ 3 - 0
i3/.Xresources

@@ -1,2 +1,5 @@
 setxkbmap -model pc105 -layout us,ru -option grp:ctrls_toggle
 setxkbmap -option caps:escape -option compose:ralt &
+
+Xcursor*theme: dmz
+Xcursor*size: 24

+ 12 - 2
x/.xinitrc

@@ -1,2 +1,12 @@
-SETXKBMAP -option caps:escape &
-setxkbmap -option compose:menu &
+export XDG_RUNTIME_DIR=/tmp
+if [ ! -d  "$XDG_RUNTIME_DIR" ]; then
+    mkdir "$XDG_RUNTIME_DIR"
+    chmod 0700 "$XDG_RUNTIME_DIR"
+fi
+
+setxkbmap -model pc105 -layout us,ru -option grp:ctrls_toggle
+setxkbmap -option caps:escape -option compose:ralt &
+
+emacs --daemon
+
+exec i3