Skip to content

Commit 82b38ba

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/main'
2 parents 8fbf338 + 1ab9269 commit 82b38ba

File tree

12 files changed

+502
-128
lines changed

12 files changed

+502
-128
lines changed

.aliases

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/bin/bash
2+
13
# Easier navigation: .., ..., ~ and -
24
alias ..="cd .."
35
alias cd..="cd .."

.bash_profile

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
# shellcheck shell=bash
22

33
# PATH setup via ~/.paths
44
setupPATH() {
@@ -13,15 +13,8 @@ setupPATH() {
1313
}
1414
setupPATH;
1515

16-
# to help sublimelinter etc with finding my PATHS
17-
case $- in
18-
*i*) source ~/.extra
19-
esac
20-
2116
# Load our dotfiles like ~/.bash_prompt, etc…
22-
# ~/.extra can be used for settings you don’t want to commit,
23-
# Use it to configure your PATH, thus it being first in line.
24-
for file in ~/.{extra,bash_prompt,exports,aliases,functions}; do
17+
for file in ~/.{bash_prompt,exports,aliases,functions}; do
2518
[ -r "$file" ] && source "$file"
2619
done
2720
unset file

.bash_prompt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/bin/bash
2+
13
# This prompt inspired by gf3, sindresorhus, alrra, and mathiasbynens.
24
# but customized to me. <3
35

.bashrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
2-
1+
# shellcheck shell=bash
32

43
[ -n "$PS1" ] && source ~/.bash_profile
54

.exports

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/bin/bash
2+
13
# file is shared between bash and fish
24
# todo: place these near the thematically related stuff. grouping as .exports is dumb.
35

@@ -42,3 +44,4 @@ export BAT_STYLE="changes,header-filename,header-filesize,snip,rule"
4244

4345
export CLOUDSDK_PYTHON=/usr/bin/python3
4446

47+
export GOPATH=$HOME/.go/

.functions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ cdf() { # short for cdfinder
2020
# Use `which` along with symlink resolving
2121
whichlink() {
2222
# This dopeass conditional stolen from sheerun's dotfiles
23-
$(type -p greadlink readlink | head -1) -f $(which $@)
23+
$(type -p greadlink readlink | head -1) -f $(which "$@")
2424
}
2525

2626

0 commit comments

Comments
 (0)