From e74225a8182ed9910d9cbdaca902d04199495b1a Mon Sep 17 00:00:00 2001 From: tmu Date: Sat, 16 Dec 2023 13:25:40 -0800 Subject: fish --- fish/conf.d/alias.fish | 12 ++++++++++++ fish/conf.d/alias.fish~ | 8 ++++++++ fish/conf.d/fish_prompt.fish | 6 ++++++ fish/conf.d/fish_prompt.fish~ | 8 ++++++++ 4 files changed, 34 insertions(+) create mode 100644 fish/conf.d/alias.fish create mode 100644 fish/conf.d/alias.fish~ create mode 100644 fish/conf.d/fish_prompt.fish create mode 100644 fish/conf.d/fish_prompt.fish~ (limited to 'fish/conf.d') diff --git a/fish/conf.d/alias.fish b/fish/conf.d/alias.fish new file mode 100644 index 0000000..9e5607c --- /dev/null +++ b/fish/conf.d/alias.fish @@ -0,0 +1,12 @@ +alias a "ALTERNATE_EDITOR=emacs emacsclient -nw" +alias e "emacs -nw" +alias ll "ls -al" +alias bctl "bluetoothctl" +alias gs "git status" +alias gl "git log --graph --oneline --all" +alias gch "git checkout" +alias alm "echo -e '\a'" +alias pp "popd" +alias pd "pushd" +alias sp "pushd" # for swapping +alias up "cd .." diff --git a/fish/conf.d/alias.fish~ b/fish/conf.d/alias.fish~ new file mode 100644 index 0000000..909d112 --- /dev/null +++ b/fish/conf.d/alias.fish~ @@ -0,0 +1,8 @@ +alias a "ALTERNATE_EDITOR=emacs emacsclient -nw" +alias e "emacs -nw" +alias ll "ls -al" +alias bctl "bluetoothctl" +alias gs "git status" +alias gl "git log --graph --oneline --all" +alias gch "git checkout" +alias alm "echo -e '\a'" diff --git a/fish/conf.d/fish_prompt.fish b/fish/conf.d/fish_prompt.fish new file mode 100644 index 0000000..c71efd9 --- /dev/null +++ b/fish/conf.d/fish_prompt.fish @@ -0,0 +1,6 @@ +function fish_prompt + set_color $fish_color_cwd + echo -n (prompt_pwd) + set_color normal + echo -n '𝛔 ' +end diff --git a/fish/conf.d/fish_prompt.fish~ b/fish/conf.d/fish_prompt.fish~ new file mode 100644 index 0000000..864330b --- /dev/null +++ b/fish/conf.d/fish_prompt.fish~ @@ -0,0 +1,8 @@ +function fish_prompt + set_color $fish_color_cwd + echo -n (prompt_pwd) + set_color normal + echo -n '𝛔 ' +end + +set fish -- cgit v1.2.3