Skip to content

Instantly share code, notes, and snippets.

@jesusalc
jesusalc / mycd.sh
Last active March 16, 2026 07:37 — forked from leipzig/mycd.sh
directory based history bash profile
#!/usr/bin/env bash
#!/bin/bash
#
# .mycd von jesusalc
#
# REF https://gist.github.com/jesusalc/b14a57ec9024ff1a3889be6b2c968bb7
#
if [ "${DEBUG-0}" -eq 0 ] ; then
{
typeset DEBUG=0
// insert ES6 code
class DateBase {
constructor(expression = '', locale = 'en') {
this._day = ''
this._month = ''
this._year = ''
this._locale = locale
this._expression = expression
this.parse_date = ''