mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-12 02:52:19 +00:00
chore(lint): dfm dotfiles fmt
This commit is contained in:
@@ -5,4 +5,3 @@
|
||||
|
||||
x-path-remove "$1"
|
||||
export PATH="${PATH:+"$PATH:"}$1"
|
||||
|
||||
|
||||
@@ -4,4 +4,3 @@
|
||||
# Usage: x-path-prepend <dir>
|
||||
|
||||
export PATH="$1${PATH:+":$PATH"}"
|
||||
|
||||
|
||||
@@ -4,4 +4,3 @@
|
||||
# Usage: x-path-remove <dir>
|
||||
|
||||
export PATH=$(echo -n "$PATH" | awk -v RS=: -v ORS=: "\$0 != \"$1\"" | sed 's/:$//')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user