Skip to content

Commit 1ab9269

Browse files
committed
Fix shellcheck failures and switch to new shellcheck gh action
* 0efce36 ( 11 seconds ago Paul Irish) nevermind indent. fails without any output lol * 5769150 ( 2 minutes ago Paul Irish) check indent * 5677749 ( 3 minutes ago Paul Irish) fish install * 297a2df ( 4 minutes ago Paul Irish) fish too * 39bc4c4 ( 9 minutes ago Paul Irish) diff action * caafe8a ( 16 minutes ago Paul Irish) shellcheck more * ffa8869 ( 27 minutes ago Paul Irish) specify shells for these dummies * 3b70e81 ( 33 minutes ago Paul Irish) fix shellcheck errors. and update git completion
1 parent 0291125 commit 1ab9269

File tree

11 files changed

+490
-112
lines changed

11 files changed

+490
-112
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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
1+
# shellcheck shell=bash
22

33
# PATH setup via ~/.paths
44
setupPATH() {
5-
# Credit to https://github.com/davidaurelio/dotfiles/blob/main/.profile for the technique
5+
# Credit to https://github.com/davidaurelio/dotfiles/blob/main/.profile for the technique of resolving $variables
66
while read -r P; do
77
P=`eval echo $P`
88
if [ -d "$P" ]; then

.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: 2 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

.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)