Rename user-dirs-osx to base-osx
This commit is contained in:
parent
998695b1ba
commit
b6271e122e
3
base-osx/.config/bash/bashrc.d/base-osx.sh
Normal file
3
base-osx/.config/bash/bashrc.d/base-osx.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#ft=bash
|
||||
|
||||
alias ls='ls -G'
|
||||
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
# If not running interactively, don't do anything
|
||||
[ -z "$PS1" ] && return
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#ft=bash
|
||||
#!/usr/bin/env bash
|
||||
alias ll='ls -alF'
|
||||
alias curl='curl --proto-default https --silent '
|
||||
|
||||
@ -19,10 +19,6 @@ alias numfiles='find . -maxdepth 1 -type f | wc -l'
|
||||
alias slugify="sed -e 's/[^[:alnum:]]/-/g' | tr -s '-' | tr A-Z a-z"
|
||||
alias take='sudo chown $(whoami):$(whoami) '
|
||||
|
||||
if [[ $(uname) == Darwin ]]; then
|
||||
alias ls='ls -G'
|
||||
fi
|
||||
|
||||
if [[ $(uname) == Linux ]]; then
|
||||
alias ls='ls --color=auto'
|
||||
alias grep='grep --color=auto'
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
#ft=bash
|
||||
|
||||
# Disable capslock
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
if [ -f /etc/bash_completion ]; then
|
||||
source /etc/bash_completion
|
||||
fi
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
#ft=bash
|
||||
|
||||
function min-jpg {
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
#ft=bash
|
||||
if [[ ! "${BASH_VERSION}" = "3.2*" ]]; then
|
||||
shopt -s autocd
|
||||
|
||||
Loading…
Reference in New Issue
Block a user