Skip to content

Instantly share code, notes, and snippets.

@jesusalc
jesusalc / mycd.sh
Last active November 13, 2023 18: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
#
# Make sure there is a tty assigned
# if test -t 0 ; then
// insert ES6 code
class DateBase {
constructor(expression = '', locale = 'en') {
this._day = ''
this._month = ''
this._year = ''
this._locale = locale
this._expression = expression
this.parse_date = ''