generate

package
v0.0.0-...-f954743 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnAliases = `
unalias gp 2>/dev/null
unalias gc 2>/dev/null
unalias gcp 2>/dev/null
`
	GenericAliases = `` /* 185-byte string literal not displayed */

	CdAliases = `
alias desk="cd ${HOME}/Desktop"
alias dld="cd ${HOME}/Downloads"
alias scm="cd ~/scm"
`
)
View Source
const (
	UtilFunctions = `
function dme() {
	mkdir -p ${HOME}/Desktop/deleteme
	cd ${HOME}/Desktop/deleteme
}
`
	ChromeFunctions = `
function chrome() {
    if [[ "${1}" != "" ]]; then
      /usr/bin/open -a "/Applications/Google Chrome.app" ${1}
    fi
}
`
	BlockChainFunctions = `` /* 234-byte string literal not displayed */

	GodaddyFunctions = `
function godaddy() {
    chrome "https://dcc.godaddy.com/manage/${1}/dns"
}
`

	LoadTestFunctions = `` /* 338-byte string literal not displayed */

	LocalHostFunction = `
function lh() {
  chrome "http://localhost:${1}"
}
`
)
View Source
const (
	GeneratedZshrcFileName = ".zshrc.mactl.generated"
)
View Source
const (
	GenericEnvVars = `
export BOMBARD_SLEEP=2
PATH="${PATH}:${HOME}/user-bin:${HOME}/bin"
`
)

Variables

This section is empty.

Functions

func Create

func Create() error

Create creates .zshrc.mactl.generated file

func Show

func Show() error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL