This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
local LAMBDA="%(?,%{$fg_bold[green]%}λ,%{$fg_bold[red]%}λ)" | |
if [[ "$USER" == "root" ]]; then USERCOLOR="red"; else USERCOLOR="yellow"; fi | |
# Git sometimes goes into a detached head state. git_prompt_info doesn't | |
# return anything in this case. So wrap it in another function and check | |
# for an empty string. | |
function check_git_prompt_info() { | |
if git rev-parse --git-dir > /dev/null 2>&1; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using Cheers; | |
public class FreeLook : MonoBehaviour | |
{ | |
public float mouseSpeed = 10f; | |
public float minYaw = -40; | |
public float maxYaw = 40; |
NewerOlder