···6565# https://stackoverflow.com/questions/8003919/are-dynamic-utis-stable
6666com.microsoft.VSCode dyn.ah62d4rv4ge80e8xq all
6767com.microsoft.VSCode dyn.ah62d4rv4ge80w5xm all
6868-
+1-1
.config/fish/conf.d/15-iterm2_hostname.fish
···11# Set the iterm2_hostname ahead of time to make startup faster.
22-# See ./20-iterm2_shell_integration.fish
22+# See ./20-iterm2_shell_integration.fish
33set -g iterm2_hostname $hostname
···11-function fish_check_saved_functions --description 'check syntax of saved files'
22- echo "Checking syntax and style of fish files..."
33-44- set -l exclude_functions '(fish_check_saved_functions|fish_prompt|fisher)'
55-66- for fish_function in ~/.config/fish/functions/*.fish
77- set -l func_name (basename $fish_function .fish)
88- set -l rel_func_path '~/.config/fish/functions/'$func_name'.fish'
99-1010- if string match --quiet --regex $exclude_functions $func_name
1111- continue
1212- end
1313-1414- funcsave $func_name &>/dev/null
1515- sed -e '/ Defined in .*\.fish/d' $fish_function >$fish_function.new
1616- mv $fish_function.new $fish_function
1717- end
1818-1919- set -l retcode 0
2020- set -l check_files
2121-2222- for fish_file in ~/.config/fish/**/*.fish
2323- if string match --quiet --regex $exclude_functions $fish_file
2424- continue
2525- end
2626-2727- set -a check_files $fish_file
2828-2929- if ! fish --no-execute $fish_file
3030- set -l retcode (math 1 + $retcode)
3131- end
3232- end
3333-3434- fish_indent --check $check_files
3535- set -l failed_files $status
3636- if test $failed_files -ne 0
3737- set retcode (math $retcode + $failed_files)
3838- fish_indent --write $check_files
3939- end
4040-4141- return $retcode
4242-end
+1-1
.config/fish/functions/fisher.fish
···8383 fish -c "
8484 if test -e $plugin
8585 command cp -Rf $plugin/* $source
8686- else
8686+ else
8787 set temp (command mktemp -d)
8888 set name (string split \@ $plugin) || set name[2] HEAD
8989 set url https://codeload.github.com/\$name[1]/tar.gz/\$name[2]
+1-3
.config/gdb/init.py
···11-#!/usr/bin/env python2
22-31from __future__ import print_function
4253import re
···75# Replace working dir /i95code with ~/Documents/workspace
86# This make things like cmd+click work properly
97# pwd_str = gdb.execute("pwd", from_tty=False, to_string=True).strip()
1010-#
88+#
119# new_pwd = re.sub(r"^.+/i95code/(.+)\.$", r"~/Documents/workspace/\1", pwd_str)
1210# print("cwd: '{}'".format(new_pwd))
1311# gdb.execute("cd {}".format(new_pwd))
···3838;; (evil-adjust)
39394040;;; Code:
4141-4141+4242 (defun evil-adjust-eval-print-last-sexp (&optional arg)
4343 "Evaluate the sexp before point and print it on a new line.
4444···6868 ))
6969 (otherwise (eval-print-last-sexp arg))
7070 ))
7171-7171+7272 (defun evil-adjust-eval-last-sexp (&optional arg)
7373 "Evaluate the sexp before point and print it in the echo area.
7474···9898 ))
9999 (otherwise (eval-last-sexp arg))
100100 ))
101101-101101+102102(defun evil-adjust-emacs25-p ()
103103 (return (= 25 (truncate (string-to-number emacs-version)))))
104104-104104+105105(defun evil-adjust (&rest options)
106106 "Initialize evil adjustments.
107107