Add mkcd and gitignore helper functions
This commit is contained in:
parent
5394ffccc3
commit
38013a1584
1 changed files with 9 additions and 0 deletions
|
|
@ -25,3 +25,12 @@ abbr -a dc 'docker compose'
|
||||||
|
|
||||||
# Prompt
|
# Prompt
|
||||||
starship init fish | source
|
starship init fish | source
|
||||||
|
|
||||||
|
# Functions
|
||||||
|
function mkcd
|
||||||
|
mkdir -p $argv[1] && cd $argv[1]
|
||||||
|
end
|
||||||
|
|
||||||
|
function gitignore
|
||||||
|
curl -sL "https://www.toptal.com/developers/gitignore/api/$argv"
|
||||||
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue