Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
49a67d5
Updated the README.
bhillmann Jun 6, 2017
5beb3c6
Updated for more sane defaults.
bhillmann Jun 6, 2017
eafaa80
Updated the README.
bhillmann Jun 6, 2017
b7eaa85
removed the modules.
bhillmann Jun 6, 2017
6410b76
Added the submodule.
bhillmann Jun 6, 2017
46518da
Updated prezto.
bhillmann Jun 6, 2017
b436da9
Updated the modules.
bhillmann Jun 6, 2017
ae1b00a
Removed submodules.
bhillmann Jun 6, 2017
c17faa7
Removed prezto.
bhillmann Jun 6, 2017
9025a66
Added prezto.
bhillmann Jun 6, 2017
411424b
Correctly added the submodule.
bhillmann Jun 6, 2017
f980cbc
Fixed a typo.
bhillmann Jun 6, 2017
3a1e918
Added the correct permissions.
bhillmann Jun 6, 2017
e5d1899
Added the init.
bhillmann Jun 6, 2017
7080ad8
Added prezto source"
bhillmann Jun 6, 2017
e176925
Removed prezto.
bhillmann Jun 6, 2017
f2838e2
SOurce prezto.
bhillmann Jun 6, 2017
793867e
Added the blacklist of files.
bhillmann Jun 6, 2017
a7e908a
Removed external.
bhillmann Jun 6, 2017
d48df34
Added the space.
bhillmann Jun 6, 2017
b935b69
Updated the zsh.
bhillmann Jun 6, 2017
a81ddad
fixed prexto.
bhillmann Jun 6, 2017
9840c65
Set defaults.
bhillmann Jun 6, 2017
fc1d34b
Added the tmux.
bhillmann Jun 6, 2017
2d13d6c
Added back bart.
bhillmann Jun 6, 2017
3284a86
Added the todo.
bhillmann Jun 6, 2017
670f1fc
Removed vc todo.
bhillmann Jun 6, 2017
cfc6349
Added the alias for todo.
bhillmann Jun 6, 2017
0b9e9b3
Added the TODOs
bhillmann Jun 6, 2017
1553706
Updated the bootstrap script.
bhillmann Jun 7, 2017
59f0604
Proper install script.
bhillmann Jun 7, 2017
b3377b4
Added the dotfiles.
bhillmann Jun 7, 2017
50c429f
Updated to the pure prompt.
Jun 15, 2017
b031fd5
Added the zssh.
bhillmann Jul 21, 2017
be9b142
Added rcode
bhillmann Jul 21, 2017
ba4ad97
Updated for custom prompt.
bhillmann Dec 20, 2017
1901f6e
Deleted a bunch of files.
bhillmann Dec 20, 2017
9d9bc07
Added the pure setup.
bhillmann Dec 20, 2017
07e4132
Updated the gitignore.
bhillmann Dec 20, 2017
ef6eb64
Updated the pure prompt.
bhillmann Dec 20, 2017
8fe913d
Update to include the plugins.
bhillmann Dec 21, 2017
8379416
Update to modularize code.
bhillmann Dec 21, 2017
05e2f8c
Make executable.
bhillmann Dec 21, 2017
b9f9971
updated files for proper line endings.
bhillmann Dec 21, 2017
53e763a
Remove settings that I don't know.
bhillmann Dec 21, 2017
935c849
Updated for proper loading of VIM mode.
bhillmann Jan 17, 2018
2950d79
[ADD] Added some code to configure git properly.
bhillmann Feb 21, 2018
a985cf6
[Bugfix] bufix a space.
bhillmann Feb 21, 2018
4c03eb6
Updated to include proper zsh loading.
bhillmann Feb 21, 2018
9d6e698
feat: Adding new prompt features.
bhillmann Feb 21, 2018
53aae97
feat: Testing the prompt setup.
bhillmann Feb 21, 2018
e1378b0
feat: testing the prompt.
bhillmann Feb 21, 2018
782a43f
feat: added git prompt.
bhillmann Feb 21, 2018
13a20bc
fetch: added the vcs info message.
bhillmann Feb 21, 2018
56e277e
fetch: added the vcs info message.
bhillmann Feb 21, 2018
67cae15
fetch: added the vcs info message.
bhillmann Feb 21, 2018
1894231
feat: Added the proper prompt.
bhillmann Feb 21, 2018
1ddc91e
feat: added the background time function.
bhillmann Feb 21, 2018
f08c44d
feat: added the background time function.
bhillmann Feb 21, 2018
8ab47ad
feat: updated the prompt
bhillmann Feb 21, 2018
9b6ddd5
feat: updated the zsh symlink.
bhillmann Feb 21, 2018
3a89010
feat: updated to current folder
bhillmann Feb 21, 2018
b90bfe5
feat: Updated the prompt
bhillmann Feb 21, 2018
aa153f0
feat: Updated the prompt to remove extra space.
bhillmann Feb 21, 2018
ddcfec0
feat: updated to include grey colors
bhillmann Feb 21, 2018
c7d3f8a
feat: updated to include grey colors
bhillmann Feb 21, 2018
b0cbe80
Reconfigured the prompt.
Sep 26, 2018
3b0dd78
Changed file endings and the script
Oct 2, 2018
e80fc76
first update in a long time. refactoring.
bhillmann Jan 28, 2020
492c4c3
removed some unused aliases and stuff.
bhillmann Jan 28, 2020
b7fb47b
Merge github.com:holman/dotfiles into upstream-merge
bhillmann Jan 28, 2020
48be1df
Merge pull request #1 from bhillmann/upstream-merge
bhillmann Jan 28, 2020
206bb29
added the xorg keyboard.
bhillmann Jan 28, 2020
f1db14e
removed the mac defaults.
bhillmann Jan 28, 2020
51a6883
removed the *
bhillmann Jan 28, 2020
1081812
renamed xprofile.
bhillmann Jan 28, 2020
d788fd9
updated the xprofile symlink.
bhillmann Jan 28, 2020
5338991
update for emacs.
bhillmann Feb 18, 2020
46bd6e2
added the monitor script.
bhillmann Feb 22, 2020
caf7e19
added the fif."
bhillmann Jul 15, 2020
a07c6d7
added the dropbox service
bhillmann Jul 17, 2020
b60a07a
Updated to include the emacs-daemon service.
bhillmann Aug 28, 2020
2239aed
Updated to include doom settings.
bhillmann Sep 9, 2020
c21ce84
doom updates.
bhillmann Jan 27, 2021
351ba26
updated fdfind
bhillmann Dec 2, 2025
ebbeeb6
merge conflicts
bhillmann Dec 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
git/gitconfig.local.symlink
Brewfile.lock.json
todo/completion.zsh
12 changes: 12 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[submodule "external/zsh-syntax-highlighting"]
path = external/zsh-syntax-highlighting
url = https://github.com/zsh-users/zsh-syntax-highlighting.git
[submodule "external/zsh-completions"]
path = external/zsh-completions
url = https://github.com/zsh-users/zsh-completions.git
[submodule "external/zsh-history-substring-search"]
path = external/zsh-history-substring-search
url = https://github.com/zsh-users/zsh-history-substring-search.git
[submodule "external/zsh-autosuggestions"]
path = external/zsh-autosuggestions
url = https://github.com/zsh-users/zsh-autosuggestions.git
Empty file modified LICENSE.md
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ There's a few special files in the hierarchy.
Run this:

```sh
git clone https://github.com/holman/dotfiles.git ~/.dotfiles
git clone https://github.com/bhillmann/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
script/bootstrap
```
Expand Down
39 changes: 0 additions & 39 deletions bin/battery-status

This file was deleted.

49 changes: 33 additions & 16 deletions bin/e
Original file line number Diff line number Diff line change
@@ -1,16 +1,33 @@
#!/bin/sh
#
# Quick shortcut to an editor.
#
# This means that as I travel back and forth between editors, hey, I don't have
# to re-learn any arcane commands. Neat.
#
# USAGE:
#
# $ e
# # => opens the current directory in your editor
#
# $ e .
# $ e /usr/local
# # => opens the specified directory in your editor
exec "$EDITOR" "${1:-.}"
#!/bin/bash -eux
exec vim "$@"
# # Wrapper script to invoke interactive emacs commands in a daemon instance.

# # These days many people don't suspect it,
# # but Emacs got server ('emacs' binary) and client ('emacsclient') parts.
# # Launching server (i.e. default 'emacs' command) evaluates the config
# # and could potentially take seconds if it's very heavy
# # Launching the client however is lightning fast. It's just a matter of creating a window.


# ARGS=(
# # This trick gives you best of two worlds: if there is an Emacs daemon running,
# # it just connects to it. Otherwise, it spawns a daemon first and then connects to it.
# # Without this setting if you didn't have a daemon running, the command would fail.
# -a ''

# # open a new fram on the current terminal
# # -nw
# # spawn new GUI window, otherwise it tries to launch client in terminal
# --create-frame
# --frame-parameters="'(fullscreen . maximized)"

# # # process rest of arguments as elisp code
# # --eval
# # # bring focus to the window
# # '(select-frame-set-input-focus (selected-frame))'
# )

# # without any extra args it just invokes the daemon instance, otherwise executes the args
# exec emacsclient "${ARGS[@]}" \
# "$@" # pass through whatever else you are trying to run

39 changes: 39 additions & 0 deletions bin/fif
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#!/usr/bin/env bash
# alternative using ripgrep-all (rga) combined with fzf-tmux preview
# implementation below makes use of "open" on macOS, which can be replaced by other commands if needed.
# allows to search in PDFs, E-Books, Office documents, zip, tar.gz, etc. (see https://github.com/phiresky/ripgrep-all)
# find-in-file - usage: fif <searchTerm> or fif "string with spaces" or fif "regex"
#fif() {
# if [ ! "$#" -gt 0 ]; then echo "Need a string to search for!"; return 1; fi
# read -r file line column <<< "$(rg --column --line-number --no-messages --hidden --ignore-case --no-heading --files-with-matches "$1" | fzf --preview "echo {} | cut -d ":" -f1" -0 -1 | awk -F: '{print $1, $2, $3}')"
# echo $column
# if [[ -n $file ]]
# then
# e +$line:$column $file
# fi
#}


# using ripgrep combined with preview
# find-in-file - usage: fif <searchTerm>
fif() {
if [ ! "$#" -gt 0 ]; then echo "Need a string to search for!"; return 1; fi
file=$(rg --column --line-number --ignore-case --no-messages --hidden --files-with-matches "$1" | fzf --preview "bat --style=changes --wrap never --color always {} | rg --ignore-case --pretty --context 10 '$1' {}" -0 -1)
if [[ -n $file ]]
then
e $file
fi
}

#fif() {
# if [ ! "$#" -gt 0 ]; then echo "Need a string to search for!"; return 1; fi
# local file
# echo "$@"
# file="$(rga --max-count=1 --ignore-case --files-with-matches --no-messages "$@" | fzf-tmux +m --preview="rga --ignore-case --pretty --context 10 '"$@"' {}")" && open "$file"
#}

fif "$@"
#echo "$line"
#echo $file
#echo $line
#[[ -n $selected ]] && e $selected
4 changes: 4 additions & 0 deletions bin/fzf-log
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
hash=$(git log --color=always --format="%C(auto)%h%d %s %C(black)%C(bold)%cr" "$@" | fzf | awk '{print $1}')
echo $hash | xclip
git showtool $hash
4 changes: 2 additions & 2 deletions bin/git-copy-branch-name
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
#!/usr/bin/env sh
#
# Copy the current branch name to the clipboard.

branch=$(git rev-parse --abbrev-ref HEAD)
echo $branch
echo $branch | tr -d '\n' | tr -d ' ' | pbcopy
echo $branch | tr -d '\n' | tr -d ' ' | xclip
2 changes: 2 additions & 0 deletions bin/monitor
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env sh
optirun intel-virtual-output
2 changes: 2 additions & 0 deletions bin/s
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash -eux
exec e "(spacemacs/defer-until-after-user-config #'my/search)"
2 changes: 2 additions & 0 deletions bin/sc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash -eux
exec e "(spacemacs/defer-until-after-user-config #'my/search-code)"
12 changes: 0 additions & 12 deletions bin/search

This file was deleted.

5 changes: 0 additions & 5 deletions bin/set-defaults

This file was deleted.

7 changes: 7 additions & 0 deletions bin/tm
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

[[ -n "$TMUX" ]] && change="switch-client" || change="attach-session"
if [ $1 ]; then
tmux $change -t "$1" 2>/dev/null || (tmux new-session -d -s $1 && tmux $change -t "$1"); return
fi
session=$(tmux list-sessions -F "#{session_name}" 2>/dev/null | fzf --exit-0) && tmux $change -t "$session" || echo "No sessions found."
18 changes: 0 additions & 18 deletions bin/todo

This file was deleted.

2 changes: 2 additions & 0 deletions bin/zssh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env sh
ssh "$@" -t zsh
2 changes: 0 additions & 2 deletions docker/aliases.zsh

This file was deleted.

Loading