Skip to content

Instantly share code, notes, and snippets.

View faho's full-sized avatar
🐟
I am not a banana

Fabian Boehm faho

🐟
I am not a banana
View GitHub Profile
@faho
faho / GameCrash.txt
Created May 31, 2014 17:36
Skulls Of The Shogun logs
Date: 18/05/2014 22:38:36
OS: Linux
BuildInfo: 7328
Steam error: Could not initialize the native Steamworks API. This is usually caused by a missing steam_appid.txt file or if the Steam client is not running.
details: SteamInitializeFailed
Date: 18/05/2014 22:38:39
OS: Linux
BuildInfo: 7328
@faho
faho / CHANGELOG.md
Last active September 28, 2018 22:34
fish 3.0 draft changelog

fish 3.0b1

fish 3.0 is a major release which brings with it both improvements in functionality and some breaking changes. All fish scripts should be reviewed

Deprecations

  • The IFS variable is deprecated and will be removed in fish 4.0 (#4156).
  • The function --on-process-exit event will be removed in future (#4700). Use the fish_exit event instead.
  • $_ is deprecated and will removed in the future (#813). Use status current-command in a subshell instead.
  • ^ as a redirection deprecated and will be removed in the future. (#4394). Use 2> to redirect stderr. This is controlled by the stderr-nocaret feature flag.
  • ? as a glob is deprecated and will be removed in the future. (#4520). This is controlled by the qmark-noglob feature flag.
@faho
faho / CHANGELOG.md
Created November 3, 2020 16:06
Fish changelog (autoconverted from rst)

CHANGELOG

fish 3.2.0 (released ???)

Notable improvements and fixes

  • Undo and redo support for the command-line editor and pager search (#1367). By default, undo is bound to Control+Z, and redo to Alt+/.
@faho
faho / issues.md
Created January 20, 2021 16:55
The remaining unchangelogged issues in fish 3.2

2083 alt-w doesn't print the description of custom functions 2914 bind documentation incorrect with respect to the available functions 3550 alt-left/right overwrites fish_prompt without clearing trailing characters 4319 implement generic job_completed event 5259 Implementation of ^C prompt cancel handling is laggy 5860 commandline -f repaint breaks on multiline prompt 5912 Syntax highlighting aborts on enter for commands 6443 Regression in recursive function redirection to variable 6478 Unable to change cursor type/shape in different modes - vi 6587 (possible cmake issue) undefined reference to symbol 'tparm'

@faho
faho / issues.txt
Created January 20, 2021 16:56
Unchangelogged fish 3.2 issues
2083 alt-w doesn't print the description of custom functions
2914 `bind` documentation incorrect with respect to the available functions
3550 alt-left/right overwrites fish_prompt without clearing trailing characters
4319 implement generic `job_completed` event
5259 Implementation of ^C prompt cancel handling is laggy
5860 commandline -f repaint breaks on multiline prompt
5912 Syntax highlighting aborts on enter for commands
6443 Regression in recursive function redirection to variable
6478 Unable to change cursor type/shape in different modes - vi
6587 (possible cmake issue) undefined reference to symbol 'tparm'
@faho
faho / GitTypo.fish
Last active February 3, 2021 17:13
git-typo ported to fish
# constants
# ascii art - Most of them found on asciiart.eu, unknown artists
set -g gitTypoDonkey '
/\ /\
( \\ // )
\ \\ // /
\_\\||||//_/
\/ _ _ \
@faho
faho / conda.fish
Created November 27, 2022 18:55
What `conda shell.fish hook` prints for miniconda3
set -gx CONDA_EXE "/opt/miniconda3/bin/conda"
set _CONDA_ROOT "/opt/miniconda3"
set _CONDA_EXE "/opt/miniconda3/bin/conda"
set -gx CONDA_PYTHON_EXE "/opt/miniconda3/bin/python"
# Copyright (C) 2012 Anaconda, Inc
# SPDX-License-Identifier: BSD-3-Clause
#
# INSTALL
#
# Run 'conda init fish' and restart your shell.
@faho
faho / pridecat.fish
Created January 21, 2023 20:40
pridecat, ported to fishscript
# Defined via `source`
function pridecat
set -l lgbt ff0018 ffa52c ffff41 008018 0000f9 86007d
set -l lgbt_1978 ff69b4 ff0000 ff8e00 ffff00 008e00 00c0c0 400098 8e008e
set -l lgbtpoc 000000 784F17 E40303 FF8C00 FFED00 008026 004DFF 750787
set -l trans 5BCEFA F5A9B8 FFFFFF F5A9B8 5BCEFA
set -l bi D60270 D60270 9B4F96 0038A8 0038A8
set -l ace 000000 A3A3A3 FFFFFF 800080
set -l aro 3DA642 A8D379 FFFFFF A9A9A9 000000
set -l pan FF218C FF218C FFD800 FFD800 21B1FF 21B1FF
@faho
faho / goblin.fish
Created May 11, 2023 20:04
fishshell Goblin Mode
function goblin-mode --on-event fish_postexec
path is -rd /usr/share/fortune; and read -lz all <(random choice (string match -v '*.dat' -- /usr/share/fortune/*))
and random choice (string split \n%\n -- $all)
for var in (set -n | string match 'fish_*color*')
set -g $var (random choice (set_color -c | string match -v black))
end
fish_config prompt choose (random choice (fish_config prompt list))
end