mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 11:14:08 +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"
|
||||
}
|
||||
|
||||
# Create a new directory and enter it
|
||||
mkd()
|
||||
{
|
||||
mkdir -p "$@" && cd "$@" || exit
|
||||
}
|
||||
|
||||
# Run command silently
|
||||
# Usage: silent uptime
|
||||
silent()
|
||||
|
||||
Reference in New Issue
Block a user