mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-14 19:53:22 +00:00
chore(scripts): mkd -> x-mkd
This commit is contained in:
4
local/bin/x-mkd
Executable file
4
local/bin/x-mkd
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Create a directory and cd into it
|
||||||
|
|
||||||
|
mkdir -p "$@" && cd "$@" || exit
|
||||||
@@ -50,12 +50,6 @@ function path_prepend
|
|||||||
x-path-prepend "$1"
|
x-path-prepend "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Create a new directory and enter it
|
|
||||||
mkd()
|
|
||||||
{
|
|
||||||
mkdir -p "$@" && cd "$@" || exit
|
|
||||||
}
|
|
||||||
|
|
||||||
# Run command silently
|
# Run command silently
|
||||||
# Usage: silent uptime
|
# Usage: silent uptime
|
||||||
silent()
|
silent()
|
||||||
|
|||||||
Reference in New Issue
Block a user