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
|
# If not running interactively, don't do anything
|
||||||
[ -z "$PS1" ] && return
|
[ -z "$PS1" ] && return
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#ft=bash
|
#!/usr/bin/env bash
|
||||||
alias ll='ls -alF'
|
alias ll='ls -alF'
|
||||||
alias curl='curl --proto-default https --silent '
|
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 slugify="sed -e 's/[^[:alnum:]]/-/g' | tr -s '-' | tr A-Z a-z"
|
||||||
alias take='sudo chown $(whoami):$(whoami) '
|
alias take='sudo chown $(whoami):$(whoami) '
|
||||||
|
|
||||||
if [[ $(uname) == Darwin ]]; then
|
|
||||||
alias ls='ls -G'
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ $(uname) == Linux ]]; then
|
if [[ $(uname) == Linux ]]; then
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
alias grep='grep --color=auto'
|
alias grep='grep --color=auto'
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
#ft=bash
|
#ft=bash
|
||||||
|
|
||||||
# Disable capslock
|
# Disable capslock
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# shellcheck disable=SC1091
|
||||||
if [ -f /etc/bash_completion ]; then
|
if [ -f /etc/bash_completion ]; then
|
||||||
source /etc/bash_completion
|
source /etc/bash_completion
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
#ft=bash
|
#ft=bash
|
||||||
|
|
||||||
function min-jpg {
|
function min-jpg {
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
#ft=bash
|
#ft=bash
|
||||||
if [[ ! "${BASH_VERSION}" = "3.2*" ]]; then
|
if [[ ! "${BASH_VERSION}" = "3.2*" ]]; then
|
||||||
shopt -s autocd
|
shopt -s autocd
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user